]> source.dussan.org Git - jgit.git/commit
Fix jgit rev-list --objects master 76/3976/1
authorShawn O. Pearce <spearce@spearce.org>
Mon, 8 Aug 2011 15:31:30 +0000 (08:31 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 8 Aug 2011 15:31:47 +0000 (08:31 -0700)
commit489604aaad8ef8d252bf31056db4de01e690fa0b
treef82d84a2278409cece0dd7bfde41279ae458d71d
parent86ecf141b6e94f18702224e60e8992cafe4d02bc
Fix jgit rev-list --objects master

This flag was not being honored due to a bug in createWalk().
argWalk is always non-null when there are commits passed in
on the command line. If --objects was specified, always make
a new ObjectWalk for the actual execution.

Change-Id: I6e1a1636f2634605d86671a83766cc1c42939821
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevWalkTextBuiltin.java