fast-export: do not export negative refs
commit4128270afc39511d3b17e5567dfbcaa09623c2b6
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:40:23 +0000 (23 15:40 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 19 Jun 2012 22:37:55 +0000 (19 23:37 +0100)
tree571b9412241300636264d9ab69bdba77a01a5649
parent1581a3040145fa923e66131d4c9e983a18efe089
fast-export: do not export negative refs

When calling `git fast-export master..next` we want to export
refs/heads/next, but not refs/heads/master.

Currently this is not a problem, because negative refs' commits
are never shown. In the next commit this will be changed in order
to make sure that 'master..master' does export master. I.e. even
refs whose commits are not shown are exported.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
builtin/fast-export.c