Don't try to pack 0{40} during push of delete and update
commit89bba89d21bd0a717d601a46fb70fe67d507cab1
authorShawn O. Pearce <spearce@spearce.org>
Tue, 1 Jul 2008 03:04:05 +0000 (30 23:04 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 1 Jul 2008 21:10:50 +0000 (1 23:10 +0200)
tree9aec78d05ff7e0a1e3e5e0e9673a1848196141cb
parentee69996b9a4bdaee86e6f6d5c5d84fc9c4d04a1b
Don't try to pack 0{40} during push of delete and update

`jgit push origin :refs/heads/die refs/heads/master` tries to pack
0{40} to delete branch "die" while also packing the objects needed
to update branch master.  Since "die" is being removed we do not
want to pack any objects for it, as there is nothing to pack.

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/BasePackPushConnection.java