Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2011-06-01 01:38:49 +0000
committerMatthias Sohn2011-06-01 14:14:25 +0000
commit45a86c88ef0214171ac53605eb8a65a37e135b59 (patch)
tree3dd5c675a9a1c88880f87f3f470dc00022c07094 /org.eclipse.egit.doc/help/JGit
parent562a73978706be62a89d19540c5224c69ff01a48 (diff)
downloadegit-45a86c88ef0214171ac53605eb8a65a37e135b59.tar.gz
egit-45a86c88ef0214171ac53605eb8a65a37e135b59.tar.xz
egit-45a86c88ef0214171ac53605eb8a65a37e135b59.zip
Update EGit documentation plugin for 1.0
Change-Id: I6f9882b719cbd9b620bb0d0770f6123cf392216c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.doc/help/JGit')
-rw-r--r--org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/1.0.html (renamed from org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/0.12.html)15
-rw-r--r--org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Bugs-Closed.html (renamed from org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Bugs-Closed.html)8
-rw-r--r--org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Commits.html (renamed from org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Commits.html)8
-rw-r--r--org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Features.html (renamed from org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Features.html)51
-rw-r--r--org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Updating-This-Document.html (renamed from org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Updating-This-Document.html)8
-rw-r--r--org.eclipse.egit.doc/help/JGit/User_Guide/Advanced-Topics.html8
-rw-r--r--org.eclipse.egit.doc/help/JGit/User_Guide/Reference.html58
-rw-r--r--org.eclipse.egit.doc/help/JGit/User_Guide/Snippets.html69
8 files changed, 167 insertions, 58 deletions
diff --git a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/0.12.html b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/1.0.html
index eb9e798bcc..2af660051a 100644
--- a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/0.12.html
+++ b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/1.0.html
@@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>JGit 0.12 New and Noteworthy</title>
+ <title>JGit 1.0 New and Noteworthy</title>
<link type="text/css" rel="stylesheet" href="../../../book.css"/>
</head>
<body>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
- <th style="width: 100%" align="center" colspan="3">JGit 0.12 New and Noteworthy</th>
+ <th style="width: 100%" align="center" colspan="3">JGit 1.0 New and Noteworthy</th>
</tr>
<tr>
<td style="width: 20%" align="left"></td>
@@ -30,14 +30,9 @@
<b>org.eclipse.jgit.api</b> package
</p>
<ul>
- <li><code>AddNoteCommand</code></li>
- <li><code>ListNotesCommand</code></li>
- <li><code>ShowNoteCommand</code></li>
- <li><code>ResetCommand</code></li>
- <li><code>StatusCommand</code></li>
- <li><code>CommitCommand</code> now supports the git commit options <code>--amend</code> and <code>-o</code> and allows to pass a Gerrit ChangeId to be added as a commit message footer</li>
- <li><code>LogCommand</code> now supports path filters</li>
- <li><code>PushCommand</code> now supports the git push options <code>--all</code> and <code>--tags</code></li>
+ <li><code>LsRemoteCommand</code></li>
+ <li><code>CleanCommand</code></li>
+ <li><code>CheckoutCommand</code> and <code>ResetCommand</code> now have path support</li>
</ul><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
diff --git a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Bugs-Closed.html b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Bugs-Closed.html
index f06c8f4dba..a4a1859a54 100644
--- a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Bugs-Closed.html
+++ b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Bugs-Closed.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>JGit 0.12 New and Noteworthy - Bugs Closed</title>
+ <title>JGit 1.0 New and Noteworthy - Bugs Closed</title>
<link type="text/css" rel="stylesheet" href="../../../book.css"/>
</head>
<body>
@@ -31,7 +31,7 @@
</table><hr/>
<h1 id="Bugs_Closed">Bugs Closed</h1>
<p>
- <a href="https://bugs.eclipse.org/bugs/buglist.cgi?chfieldto=2011-05-01;chfield=bug_status;query_format=advanced;order=Importance;chfieldfrom=2011-02-24;bug_status=RESOLVED;bug_status=CLOSED;resolution=FIXED;resolution=DUPLICATE;product=JGit;classification=Technology" target="egit_external">15 bugs and 5 enhancement requests</a> were closed.
+ <a href="https://bugs.eclipse.org/bugs/buglist.cgi?chfieldto=2011-05-26;chfield=bug_status;query_format=advanced;order=Importance;chfieldfrom=2011-05-02;bug_status=RESOLVED;bug_status=CLOSED;resolution=FIXED;resolution=DUPLICATE;product=JGit;classification=Technology" target="egit_external">21 bugs and 8 enhancement requests</a> were closed.
</p><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
@@ -41,8 +41,8 @@
</a>
</td>
<td style="width: 60%" align="center">
- <a href="0.12.html" title="JGit 0.12 New and Noteworthy">
- <img alt="JGit 0.12 New and Noteworthy" border="0" src="../../../images/home.gif"/>
+ <a href="1.0.html" title="JGit 1.0 New and Noteworthy">
+ <img alt="JGit 1.0 New and Noteworthy" border="0" src="../../../images/home.gif"/>
</a>
</td>
<td style="width: 20%" align="right">
diff --git a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Commits.html b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Commits.html
index 1dfd74eded..c917a040d8 100644
--- a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Commits.html
+++ b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Commits.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>JGit 0.12 New and Noteworthy - Commits</title>
+ <title>JGit 1.0 New and Noteworthy - Commits</title>
<link type="text/css" rel="stylesheet" href="../../../book.css"/>
</head>
<body>
@@ -31,7 +31,7 @@
</table><hr/>
<h1 id="Commits">Commits</h1>
<p>
- <a href="http://egit.eclipse.org/w/?p=jgit.git;a=shortlog;h=stable-0.12;hp=v0.11.3;opt=--no-merges" target="egit_external">JGit 0.12 - commits in gitweb</a>
+ <a href="http://egit.eclipse.org/w/?p=jgit.git;a=shortlog;h=stable-1.0;hp=v0.12.1;opt=--no-merges" target="egit_external">JGit 1.0 - commits in gitweb</a>
</p><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
@@ -41,8 +41,8 @@
</a>
</td>
<td style="width: 60%" align="center">
- <a href="0.12.html" title="JGit 0.12 New and Noteworthy">
- <img alt="JGit 0.12 New and Noteworthy" border="0" src="../../../images/home.gif"/>
+ <a href="1.0.html" title="JGit 1.0 New and Noteworthy">
+ <img alt="JGit 1.0 New and Noteworthy" border="0" src="../../../images/home.gif"/>
</a>
</td>
<td style="width: 20%" align="right">
diff --git a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Features.html b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Features.html
index fbf90026cf..878cb2386c 100644
--- a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Features.html
+++ b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Features.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>JGit 0.12 New and Noteworthy - Features</title>
+ <title>JGit 1.0 New and Noteworthy - Features</title>
<link type="text/css" rel="stylesheet" href="../../../book.css"/>
</head>
<body>
@@ -12,7 +12,7 @@
</tr>
<tr>
<td style="width: 20%" align="left">
- <a href="0.12.html" title="JGit 0.12 New and Noteworthy">
+ <a href="1.0.html" title="JGit 1.0 New and Noteworthy">
<img alt="Previous" border="0" src="../../../images/prev.gif"/>
</a>
</td>
@@ -24,47 +24,42 @@
</td>
</tr>
<tr>
- <td style="width: 20%" align="left" valign="top">JGit 0.12 New and Noteworthy</td>
+ <td style="width: 20%" align="left" valign="top">JGit 1.0 New and Noteworthy</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right" valign="top">Bugs Closed</td>
</tr>
</table><hr/>
<h1 id="Features">Features</h1>
- <h2 id="JGit_Command_Line">JGit Command Line</h2>
- <p>The JGit command line now supports the following new commands and command options</p>
+ <h2 id="Ant_Tasks">Ant Tasks</h2>
+ <p>There are ant tasks now available for the
+ <b>org.eclipse.jgit.ant</b> bundle.
+ </p>
<ul>
- <li><code>jgit merge</code> has been added</li>
- <li><code>jgit reset</code> has been added</li>
- <li><code>jgit log</code> now can show git notes </li>
- <li><code>jgit push</code> now supports the options <code>--all</code> and <code>--tags</code> </li>
+ <li><code>git-init</code></li>
+ <li><code>git-clone</code></li>
+ <li><code>git-checkout</code></li>
</ul>
- <h2 id="Cherry-pick_Conflict_Handling_Support">Cherry-pick Conflict Handling Support</h2>
- <p><code>CherryPickCommand</code> now properly supports conflict handling.</p>
- <h2 id="Other_Enhancements">Other Enhancements</h2>
+ <h2 id="jgit.storage.dht_storage_SPI_implementation_for_JGit">jgit.storage.dht storage SPI implementation for JGit</h2>
+ <p>permits storing the Git repository in a distributed hashtable, NoSQL system, or other database</p>
+ <h2 id="storage_system_implementations_based_on_this_DHT_SPI">storage system implementations based on this DHT SPI</h2>
<ul>
- <li>Some since long time deprecated classes have been removed
- <ul>
- <li><code>Repository.mapTree</code></li>
- <li><code>TreeVisitor</code></li>
- <li><code>TreeIterator</code></li>
- <li><code>IndexTreeVisitor</code></li>
- <li><code>WriteTree</code></li>
- <li><code>WorkDirCheckout</code></li>
- <li><code>Treeish</code> interface</li>
- </ul>
- </li>
- <li>Class <code>ObjectIdSubclassMap</code> has been improved to implement a more lightweight map for ObjectIds which reduces memory consumption considerably.</li>
+ <li>Apache HBase</li>
+ <li>Apache Cassandra</li>
+ <li>Google Bigtable (proprietary, not part of jgit)</li>
+ <li>an in-memory implementation for unit testing</li>
+ <li>a JDBC implementation for SQL</li>
+ <li>a generic cache provider that can ride on top of memcache</li>
</ul><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
<td style="width: 20%" align="left">
- <a href="0.12.html" title="JGit 0.12 New and Noteworthy">
+ <a href="1.0.html" title="JGit 1.0 New and Noteworthy">
<img alt="Previous" border="0" src="../../../images/prev.gif"/>
</a>
</td>
<td style="width: 60%" align="center">
- <a href="0.12.html" title="JGit 0.12 New and Noteworthy">
- <img alt="JGit 0.12 New and Noteworthy" border="0" src="../../../images/home.gif"/>
+ <a href="1.0.html" title="JGit 1.0 New and Noteworthy">
+ <img alt="JGit 1.0 New and Noteworthy" border="0" src="../../../images/home.gif"/>
</a>
</td>
<td style="width: 20%" align="right">
@@ -74,7 +69,7 @@
</td>
</tr>
<tr>
- <td style="width: 20%" align="left" valign="top">JGit 0.12 New and Noteworthy</td>
+ <td style="width: 20%" align="left" valign="top">JGit 1.0 New and Noteworthy</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right" valign="top">Bugs Closed</td>
</tr>
diff --git a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Updating-This-Document.html b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Updating-This-Document.html
index 77524c7663..791296a77e 100644
--- a/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/0.12/Updating-This-Document.html
+++ b/org.eclipse.egit.doc/help/JGit/New_and_Noteworthy/1.0/Updating-This-Document.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>JGit 0.12 New and Noteworthy - Updating This Document</title>
+ <title>JGit 1.0 New and Noteworthy - Updating This Document</title>
<link type="text/css" rel="stylesheet" href="../../../book.css"/>
</head>
<body>
@@ -29,7 +29,7 @@
<p> This document is maintained in a collaborative wiki. If you wish to
update or modify this document please visit
- <a href="http://wiki.eclipse.org/JGit/New_and_Noteworthy/0.12" target="egit_external">http://wiki.eclipse.org/JGit/New_and_Noteworthy/0.12</a>
+ <a href="http://wiki.eclipse.org/JGit/New_and_Noteworthy/1.0" target="egit_external">http://wiki.eclipse.org/JGit/New_and_Noteworthy/1.0</a>
</p><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
@@ -39,8 +39,8 @@
</a>
</td>
<td style="width: 60%" align="center">
- <a href="0.12.html" title="JGit 0.12 New and Noteworthy">
- <img alt="JGit 0.12 New and Noteworthy" border="0" src="../../../images/home.gif"/>
+ <a href="1.0.html" title="JGit 1.0 New and Noteworthy">
+ <img alt="JGit 1.0 New and Noteworthy" border="0" src="../../../images/home.gif"/>
</a>
</td>
<td style="width: 20%" align="right"></td>
diff --git a/org.eclipse.egit.doc/help/JGit/User_Guide/Advanced-Topics.html b/org.eclipse.egit.doc/help/JGit/User_Guide/Advanced-Topics.html
index b0f84156ea..bcda478587 100644
--- a/org.eclipse.egit.doc/help/JGit/User_Guide/Advanced-Topics.html
+++ b/org.eclipse.egit.doc/help/JGit/User_Guide/Advanced-Topics.html
@@ -12,7 +12,7 @@
</tr>
<tr>
<td style="width: 20%" align="left">
- <a href="Reference.html" title="Reference">
+ <a href="Snippets.html" title="Snippets">
<img alt="Previous" border="0" src="../../images/prev.gif"/>
</a>
</td>
@@ -24,7 +24,7 @@
</td>
</tr>
<tr>
- <td style="width: 20%" align="left" valign="top">Reference</td>
+ <td style="width: 20%" align="left" valign="top">Snippets</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right" valign="top">Updating This Document</td>
</tr>
@@ -147,7 +147,7 @@ walk.dispose();
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
<td style="width: 20%" align="left">
- <a href="Reference.html" title="Reference">
+ <a href="Snippets.html" title="Snippets">
<img alt="Previous" border="0" src="../../images/prev.gif"/>
</a>
</td>
@@ -163,7 +163,7 @@ walk.dispose();
</td>
</tr>
<tr>
- <td style="width: 20%" align="left" valign="top">Reference</td>
+ <td style="width: 20%" align="left" valign="top">Snippets</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right" valign="top">Updating This Document</td>
</tr>
diff --git a/org.eclipse.egit.doc/help/JGit/User_Guide/Reference.html b/org.eclipse.egit.doc/help/JGit/User_Guide/Reference.html
index 28d2efcd10..c74eda9f04 100644
--- a/org.eclipse.egit.doc/help/JGit/User_Guide/Reference.html
+++ b/org.eclipse.egit.doc/help/JGit/User_Guide/Reference.html
@@ -18,7 +18,7 @@
</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right">
- <a href="Advanced-Topics.html" title="Advanced Topics">
+ <a href="Snippets.html" title="Snippets">
<img alt="Next" border="0" src="../../images/next.gif"/>
</a>
</td>
@@ -26,7 +26,7 @@
<tr>
<td style="width: 20%" align="left" valign="top">Concepts</td>
<td style="width: 60%" align="center"></td>
- <td style="width: 20%" align="right" valign="top">Advanced Topics</td>
+ <td style="width: 20%" align="right" valign="top">Snippets</td>
</tr>
</table><hr/>
<h1 id="Reference">Reference</h1>
@@ -83,6 +83,56 @@ RevTag tag = git.tag().setName("tag").call();
LogCommand log = git.log().call();
</pre>
<h3 id="MergeCommand_.28git-merge.29">MergeCommand (git-merge)</h3>
+ <p>TODO</p>
+ <h2 id="Ant_Tasks">Ant Tasks</h2>
+ <p>JGit has Ant tasks for some common tasks contained in the
+ <b>org.eclipse.jgit.ant</b> bundle.
+ </p>
+ <p>To use these tasks:</p>
+ <pre> &lt;taskdef resource="org/eclipse/jgit/ant/ant-tasks.properties"&gt;
+ &lt;classpath&gt;
+ &lt;pathelement location="path/to/org.eclipse.jgit.ant-VERSION.jar"/&gt;
+ &lt;pathelement location="path/to/org.eclipse.jgit-VERSION.jar"/&gt;
+ &lt;pathelement location="path/to/jsch-0.1.44-1.jar"/&gt;
+ &lt;/classpath&gt;
+ &lt;/taskdef&gt;
+</pre>
+ <p>This would then provide git-clone, git-init and git-checkout tasks.</p>
+ <h3 id="git-clone">git-clone</h3>
+ <pre> &lt;git-clone uri="http://egit.eclipse.org/jgit.git" /&gt;
+</pre>
+ <p>The following attributes are required:</p>
+ <ul>
+ <li>uri: the uri to clone from</li>
+ </ul>
+ <p>The following attributes are optional:</p>
+ <ul>
+ <li>dest: the destination to clone to (defaults to use a human readable directory name based on the last path component of the uri)</li>
+ <li>bare: true/false/yes/no to indicate if the cloned repository should be bare or not (defaults to false)</li>
+ <li>branch: the initial branch to check out when cloning the repository (defaults to HEAD)</li>
+ </ul>
+ <h3 id="git-init">git-init</h3>
+ <pre> &lt;git-init /&gt;
+</pre>
+ <p>The following attributes are optional:</p>
+ <ul>
+ <li>dest: the path where a git repository is initialized (defaults $GIT_DIR or the current directory)</li>
+ <li>bare: true/false/yes/no to indicate if the repository should be bare or not (defaults to false)</li>
+ </ul>
+ <h3 id="git-checkout">git-checkout</h3>
+ <pre> &lt;git-checkout src="path/to/repo" branch="origin/experimental" /&gt;
+</pre>
+ <p>The following attributes are required:</p>
+ <ul>
+ <li>src: the path to the git repository</li>
+ <li>branch: the initial branch to checkout</li>
+ </ul>
+ <p>The following attributes are optional:</p>
+ <ul>
+ <li>createbranch: true/false/yes/no to indicate whether the branch should be created if it does not already exist (defaults to false)</li>
+ <li>force: true/false/yes/no: if true/yes and the branch with the given name already exists, the start-point of an existing branch will be set to a new start-point; if false, the existing branch will not be changed (defaults to false)</li>
+ </ul>
+ <h3 id="git-add">git-add</h3>
<p>TODO</p><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
@@ -97,7 +147,7 @@ LogCommand log = git.log().call();
</a>
</td>
<td style="width: 20%" align="right">
- <a href="Advanced-Topics.html" title="Advanced Topics">
+ <a href="Snippets.html" title="Snippets">
<img alt="Next" border="0" src="../../images/next.gif"/>
</a>
</td>
@@ -105,7 +155,7 @@ LogCommand log = git.log().call();
<tr>
<td style="width: 20%" align="left" valign="top">Concepts</td>
<td style="width: 60%" align="center"></td>
- <td style="width: 20%" align="right" valign="top">Advanced Topics</td>
+ <td style="width: 20%" align="right" valign="top">Snippets</td>
</tr>
</table>
</body>
diff --git a/org.eclipse.egit.doc/help/JGit/User_Guide/Snippets.html b/org.eclipse.egit.doc/help/JGit/User_Guide/Snippets.html
new file mode 100644
index 0000000000..a87ca8a03f
--- /dev/null
+++ b/org.eclipse.egit.doc/help/JGit/User_Guide/Snippets.html
@@ -0,0 +1,69 @@
+<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <title>JGit User Guide - Snippets</title>
+ <link type="text/css" rel="stylesheet" href="../../book.css"/>
+ </head>
+ <body>
+ <table class="navigation" style="width: 100%;" border="0" summary="navigation">
+ <tr>
+ <th style="width: 100%" align="center" colspan="3">Snippets</th>
+ </tr>
+ <tr>
+ <td style="width: 20%" align="left">
+ <a href="Reference.html" title="Reference">
+ <img alt="Previous" border="0" src="../../images/prev.gif"/>
+ </a>
+ </td>
+ <td style="width: 60%" align="center"></td>
+ <td style="width: 20%" align="right">
+ <a href="Advanced-Topics.html" title="Advanced Topics">
+ <img alt="Next" border="0" src="../../images/next.gif"/>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td style="width: 20%" align="left" valign="top">Reference</td>
+ <td style="width: 60%" align="center"></td>
+ <td style="width: 20%" align="right" valign="top">Advanced Topics</td>
+ </tr>
+ </table><hr/>
+ <h1 id="Snippets">Snippets</h1>
+ <h2 id="Finding_children_of_a_commit">Finding children of a commit</h2>
+ <pre>
+PlotWalk revWalk = new PlotWalk(repo());
+ObjectId rootId = (branch==null)?repo().resolve(HEAD):branch.getObjectId();
+RevCommit root = revWalk.parseCommit(rootId);
+revWalk.markStart(root);
+PlotCommitList&lt;PlotLane&gt; plotCommitList = new PlotCommitList&lt;PlotLane&gt;();
+plotCommitList.source(revWalk);
+plotCommitList.fillTo(Integer.MAX_VALUE);
+return revWalk;
+</pre><hr/>
+ <table class="navigation" style="width: 100%;" border="0" summary="navigation">
+ <tr>
+ <td style="width: 20%" align="left">
+ <a href="Reference.html" title="Reference">
+ <img alt="Previous" border="0" src="../../images/prev.gif"/>
+ </a>
+ </td>
+ <td style="width: 60%" align="center">
+ <a href="User-Guide.html" title="JGit User Guide">
+ <img alt="JGit User Guide" border="0" src="../../images/home.gif"/>
+ </a>
+ </td>
+ <td style="width: 20%" align="right">
+ <a href="Advanced-Topics.html" title="Advanced Topics">
+ <img alt="Next" border="0" src="../../images/next.gif"/>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td style="width: 20%" align="left" valign="top">Reference</td>
+ <td style="width: 60%" align="center"></td>
+ <td style="width: 20%" align="right" valign="top">Advanced Topics</td>
+ </tr>
+ </table>
+ </body>
+</html> \ No newline at end of file

Back to the top