]> source.dussan.org Git - jgit.git/commit
Add "--long" option to JGit describe 42/43142/5
authorChristian Halstrick <christian.halstrick@sap.com>
Wed, 4 Mar 2015 11:43:01 +0000 (12:43 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 9 Mar 2015 20:48:04 +0000 (13:48 -0700)
commit0e3ddea1b028836889fc13ad56b1dec5d5438fc9
tree112e998c4248fbdf7375c8ea8f07e592313be1c3
parenta8fb77853a97568dc03ca9513eadb01bb2b50c06
Add "--long" option to JGit describe

Native git supports "git describe --long". This will enforce returning a
long description of a commit even if a tag is directly pointing to the
commit (in contrast to just returning the tag name as it is now). This
commit teaches JGits DescribeCommand and the describe command in the pgm
package to support "--long".

Bug: 460991
Change-Id: I65e179b79e89049c6deced3c71cb3ebb08ed0a8f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/DescribeTest.java
org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Describe.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/DescribeCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/DescribeCommand.java