Sha256: 444e8a72cfdc778342b24b845ec90ca2e8883d802545569891755447607049e1
Contents?: true
Size: 1.26 KB
Versions: 5
Compression:
Stored size: 1.26 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>update_db (Grit::CommitDb)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/grit/git-ruby/commit_db.rb, line 26</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_db</span>(<span class="ruby-identifier">branch</span> = <span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt"># find all refs/heads, for each</span> <span class="ruby-comment cmt"># add branch if not there</span> <span class="ruby-comment cmt"># go though all commits in branch</span> <span class="ruby-comment cmt"># add new commit_branches a</span> <span class="ruby-comment cmt"># and commit_nodes for each new one</span> <span class="ruby-comment cmt"># stop if reach commit that already has branch and node links</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
5 entries across 5 versions & 1 rubygems