]> source.dussan.org Git - jgit.git/commit
diff: Default arguments to HEAD, working directory 92/1492/2
authorShawn O. Pearce <spearce@spearce.org>
Wed, 1 Sep 2010 19:29:40 +0000 (12:29 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 2 Sep 2010 18:38:39 +0000 (11:38 -0700)
commitfed508d55b8dcc3b9a3318b289e3eaaadd3ecb29
tree3cff0a0c958beddae85115954412c09e14983405
parent59a262d5d27136fa87795feffc7ca029877a2bca
diff: Default arguments to HEAD, working directory

Similar to C Git, default our difference when no trees are given
to us to something that makes a tiny bit of sense to the human.

We also now support the --cached flag, and have its meaning work the
same way as C Git.

Change-Id: I2f19dad4e018404e280ea3e95ebd448a4b667f59
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/CLIText.properties
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java