fast-export: do not refer to non-existing marks
commit381f276e1ba268f3919d23076312a8769b3a9830
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 29 May 2012 02:48:38 +0000 (28 21:48 -0500)
tree7aad92ed66a57417c393d36de4fd101de5a47b5e
parente305a54d56518979fe878f8d53a7a5710c15854c
fast-export: do not refer to non-existing marks

When calling `git fast-export a..a b` when a and b refer to the same
commit, nothing would be exported, and an incorrect reset line would
be printed for b ('from :0').

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
builtin/fast-export.c