fast-export: do not export negative refs
commit65f1515a3f0a6ef294a430b981205dc251582eaf
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:40:23 +0000 (23 15:40 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 5 Jun 2012 18:44:21 +0000 (5 13:44 -0500)
tree42b4b6d2e39a204dd83e44b0bf9ed28c74a4ba85
parent21e16608db20375fe9a0ce55a271ad0bfec97e20
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