]> source.dussan.org Git - jgit.git/commit
Replace manual peel loops with RevWalk.peel 35/935/1
authorShawn O. Pearce <spearce@spearce.org>
Thu, 24 Jun 2010 00:26:44 +0000 (17:26 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 24 Jun 2010 00:32:40 +0000 (17:32 -0700)
commit47c07e1a0dec79cb87fc5ccd6ee9b5e64992efb5
tree34b6320e5e44ff1b52dd7b149854dca8d181eabe
parent599c0ce745ab0322fc110a374bacf3c5a142da7b
Replace manual peel loops with RevWalk.peel

Instead of peeling things by hand in application level code, defer
the peeling logic into RevWalk's new peel utility method.

Change-Id: Idabd10dc41502e782f6a2eeb56f09566b97775a8
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDirectory.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java