fast-export: do not export negative refs
commita649ccd69f8fef682110298edc5a8e589137cbf7
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:40:23 +0000 (23 15:40 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 12 May 2012 04:25:51 +0000 (11 23:25 -0500)
treea5f26a62077105a75e8ab0e0b31bc8630d2d75c5
parent6022a27512e1855239591bee2d42bff73faf4c57
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