Fix push to empty repository
commit8fa60d3fa88c1f5403d8ca82eb8c748fe00780ea
authorShawn O. Pearce <spearce@spearce.org>
Tue, 16 Sep 2008 05:38:04 +0000 (15 22:38 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 16 Sep 2008 21:30:54 +0000 (16 23:30 +0200)
treec16fa41e3892cf943ad4f958e9ea3b940afff8f5
parent1f460e2f5ff983a277bfb214a8112f1c74a24052
Fix push to empty repository

If the remote repository has no commits we received an exception
about "capabilities^{} coming before capabilities".  This happens
because we didn't correctly ignore the dummy capability ref line.

http://code.google.com/p/egit/issues/detail?id=34

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/transport/BasePackConnection.java