fast-export: do not export negative refs
commit1b8e6a56d4772887536ef2e8a4182d1df50f0500
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:40:23 +0000 (23 15:40 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 31 Jan 2013 23:46:42 +0000 (31 23:46 +0000)
tree92c9aabc69a40cf17f3f19314b35d64e2a4de56a
parent3bd1ca55e6cabbf2722e5462236916e9788f4917
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