Evaluate short refnames into full names during push
commit9c26a41ec0914b009bd96253fa387b73d271011e
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 7 Mar 2009 22:18:19 +0000 (7 23:18 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 7 Mar 2009 22:51:33 +0000 (7 14:51 -0800)
tree36f4fb1bc7d7099c9d6f55ae85de434b066d3a07
parent093920a17c12be35a2c29b8163166ef258f54be2
Evaluate short refnames into full names during push

With this we can use short names like master instead of refs/heads/master
when pushing. This is slightly more convenient. Pushing a delete still
requires the long format.

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/Repository.java
org.spearce.jgit/src/org/spearce/jgit/transport/Transport.java