fast-export: do not export negative refs
commit892833303db80da9166d468655886db256f13685
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:40:23 +0000 (23 15:40 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 3 May 2012 16:13:36 +0000 (3 11:13 -0500)
tree05f089319525c2833199a438224e93111e8d5791
parent88374204fa8c5e1fe8ca14b4fb60fde5e2f92c39
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