fast-export: do not refer to non-existing marks
commit9faa058745db4add7b1632b19ee55320bdf61e92
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerKarsten Blees <blees@dcon.de>
Sat, 16 Aug 2014 01:00:59 +0000 (16 03:00 +0200)
treea5c94e7a4bbbecdb88dc1badda2112ece49a064c
parent20ba112c953c921d9f39771417f343007ec045a2
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