Handle peeling of loose refs.
commit72519b20a62001c4365f381ecdfdffb4bb5792c3
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 14 Nov 2008 23:24:58 +0000 (15 00:24 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 16 Nov 2008 22:21:59 +0000 (16 14:21 -0800)
tree8c449f0f12d9e16dca2a674c3e37c4c65ab1d655
parent303ed1aa16d9f4694eab4ab2e8d6b98d780f6068
Handle peeling of loose refs.

For packed refs we got peeling automatically from packed-refs,
but for loose tags we have to follow the tags and get the leaf
object in order to comply with the documentation.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/Ref.java
org.spearce.jgit/src/org/spearce/jgit/lib/RefDatabase.java
org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java
org.spearce.jgit/src/org/spearce/jgit/transport/BasePackConnection.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportAmazonS3.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportHttp.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportSftp.java
org.spearce.jgit/src/org/spearce/jgit/transport/WalkRemoteObjectDatabase.java