fast-export: do not export negative refs
commit8325de8a210dfa9cb0f692f8297b727cb6c93354
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, 29 May 2012 02:48:47 +0000 (28 21:48 -0500)
tree5f04872c42ccf7311efa8e7f6bf8997740ec7a26
parent35d57d229e8425a1dd5926968d924be176da8a48
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