diff options
Diffstat (limited to 'doc/classes/Git/Branch.src')
-rw-r--r-- | doc/classes/Git/Branch.src/M000066.html | 28 | ||||
-rw-r--r-- | doc/classes/Git/Branch.src/M000067.html | 19 | ||||
-rw-r--r-- | doc/classes/Git/Branch.src/M000068.html | 19 | ||||
-rw-r--r-- | doc/classes/Git/Branch.src/M000069.html | 25 | ||||
-rw-r--r-- | doc/classes/Git/Branch.src/M000070.html | 18 | ||||
-rw-r--r-- | doc/classes/Git/Branch.src/M000071.html | 18 | ||||
-rw-r--r-- | doc/classes/Git/Branch.src/M000072.html | 18 | ||||
-rw-r--r-- | doc/classes/Git/Branch.src/M000073.html | 27 | ||||
-rw-r--r-- | doc/classes/Git/Branch.src/M000074.html | 18 | ||||
-rw-r--r-- | doc/classes/Git/Branch.src/M000075.html | 18 |
10 files changed, 208 insertions, 0 deletions
diff --git a/doc/classes/Git/Branch.src/M000066.html b/doc/classes/Git/Branch.src/M000066.html new file mode 100644 index 0000000..ebee250 --- /dev/null +++ b/doc/classes/Git/Branch.src/M000066.html @@ -0,0 +1,28 @@ +<?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>new (Git::Branch)</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/git/branch.rb, line 9</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">base</span>, <span class="ruby-identifier">name</span>) + <span class="ruby-ivar">@remote</span> = <span class="ruby-keyword kw">nil</span> + <span class="ruby-ivar">@full</span> = <span class="ruby-identifier">name</span> + <span class="ruby-ivar">@base</span> = <span class="ruby-identifier">base</span> + + <span class="ruby-identifier">parts</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">'/'</span>) + <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">parts</span>[<span class="ruby-value">1</span>] + <span class="ruby-ivar">@remote</span> = <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Remote</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@base</span>, <span class="ruby-identifier">parts</span>[<span class="ruby-value">0</span>]) + <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">parts</span>[<span class="ruby-value">1</span>] + <span class="ruby-keyword kw">else</span> + <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">parts</span>[<span class="ruby-value">0</span>] + <span class="ruby-keyword kw">end</span> + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file diff --git a/doc/classes/Git/Branch.src/M000067.html b/doc/classes/Git/Branch.src/M000067.html new file mode 100644 index 0000000..181adce --- /dev/null +++ b/doc/classes/Git/Branch.src/M000067.html @@ -0,0 +1,19 @@ +<?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>gcommit (Git::Branch)</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/git/branch.rb, line 23</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gcommit</span> + <span class="ruby-ivar">@gcommit</span> = <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">object</span>(<span class="ruby-identifier">name</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@gcommit</span> + <span class="ruby-ivar">@gcommit</span> + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file diff --git a/doc/classes/Git/Branch.src/M000068.html b/doc/classes/Git/Branch.src/M000068.html new file mode 100644 index 0000000..30ef49c --- /dev/null +++ b/doc/classes/Git/Branch.src/M000068.html @@ -0,0 +1,19 @@ +<?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>checkout (Git::Branch)</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/git/branch.rb, line 28</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">checkout</span> + <span class="ruby-identifier">check_if_create</span> + <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">checkout</span>(<span class="ruby-ivar">@name</span>) + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file diff --git a/doc/classes/Git/Branch.src/M000069.html b/doc/classes/Git/Branch.src/M000069.html new file mode 100644 index 0000000..b435312 --- /dev/null +++ b/doc/classes/Git/Branch.src/M000069.html @@ -0,0 +1,25 @@ +<?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>in_branch (Git::Branch)</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/git/branch.rb, line 39</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">in_branch</span> (<span class="ruby-identifier">message</span> = <span class="ruby-value str">'in branch work'</span>) + <span class="ruby-identifier">old_current</span> = <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">branch_current</span> + <span class="ruby-identifier">checkout</span> + <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">yield</span> + <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">commit_all</span>(<span class="ruby-identifier">message</span>) + <span class="ruby-keyword kw">else</span> + <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">reset_hard</span> + <span class="ruby-keyword kw">end</span> + <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">checkout</span>(<span class="ruby-identifier">old_current</span>) + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file diff --git a/doc/classes/Git/Branch.src/M000070.html b/doc/classes/Git/Branch.src/M000070.html new file mode 100644 index 0000000..9aadb89 --- /dev/null +++ b/doc/classes/Git/Branch.src/M000070.html @@ -0,0 +1,18 @@ +<?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>create (Git::Branch)</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/git/branch.rb, line 50</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span> + <span class="ruby-identifier">check_if_create</span> + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file diff --git a/doc/classes/Git/Branch.src/M000071.html b/doc/classes/Git/Branch.src/M000071.html new file mode 100644 index 0000000..9c00966 --- /dev/null +++ b/doc/classes/Git/Branch.src/M000071.html @@ -0,0 +1,18 @@ +<?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>delete (Git::Branch)</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/git/branch.rb, line 54</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span> + <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">branch_delete</span>(<span class="ruby-ivar">@name</span>) + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file diff --git a/doc/classes/Git/Branch.src/M000072.html b/doc/classes/Git/Branch.src/M000072.html new file mode 100644 index 0000000..13ca381 --- /dev/null +++ b/doc/classes/Git/Branch.src/M000072.html @@ -0,0 +1,18 @@ +<?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>current (Git::Branch)</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/git/branch.rb, line 58</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current</span> + <span class="ruby-identifier">determine_current</span> + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file diff --git a/doc/classes/Git/Branch.src/M000073.html b/doc/classes/Git/Branch.src/M000073.html new file mode 100644 index 0000000..98cc459 --- /dev/null +++ b/doc/classes/Git/Branch.src/M000073.html @@ -0,0 +1,27 @@ +<?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>merge (Git::Branch)</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/git/branch.rb, line 62</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge</span>(<span class="ruby-identifier">branch</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">message</span> = <span class="ruby-keyword kw">nil</span>) + <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">branch</span> + <span class="ruby-identifier">in_branch</span> <span class="ruby-keyword kw">do</span> + <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">branch</span>, <span class="ruby-identifier">message</span>) + <span class="ruby-keyword kw">false</span> + <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># merge a branch into this one</span> + <span class="ruby-keyword kw">else</span> + <span class="ruby-comment cmt"># merge this branch into the current one</span> + <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-ivar">@name</span>) + <span class="ruby-keyword kw">end</span> + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file diff --git a/doc/classes/Git/Branch.src/M000074.html b/doc/classes/Git/Branch.src/M000074.html new file mode 100644 index 0000000..c807946 --- /dev/null +++ b/doc/classes/Git/Branch.src/M000074.html @@ -0,0 +1,18 @@ +<?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>to_a (Git::Branch)</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/git/branch.rb, line 75</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span> + [<span class="ruby-ivar">@full</span>] + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file diff --git a/doc/classes/Git/Branch.src/M000075.html b/doc/classes/Git/Branch.src/M000075.html new file mode 100644 index 0000000..8261f51 --- /dev/null +++ b/doc/classes/Git/Branch.src/M000075.html @@ -0,0 +1,18 @@ +<?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>to_s (Git::Branch)</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/git/branch.rb, line 79</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span> + <span class="ruby-ivar">@full</span> + <span class="ruby-keyword kw">end</span></pre> +</body> +</html>
\ No newline at end of file |