fast-export: do not export negative refs
commit0c9ca75fdcc31e202e6c6f4593f4f3ee7bce8fb1
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:40:23 +0000 (23 15:40 +0200)
committerMichael J Gruber <git@drmicha.warpmail.net>
Fri, 30 Nov 2012 08:54:12 +0000 (30 09:54 +0100)
treea345aa5fd460c5d1ca4c258bd0e438cac83718ab
parent3c1ec467fe47362b961554fc9db72faedc03eade
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