fast-export: do not refer to non-existing marks
commit12480d00261978dbc7fcd17212dc10257c95cf19
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 10 May 2014 21:56:43 +0000 (10 16:56 -0500)
treea86bead2bf3308f87716f42ee9db0e7950755114
parent4e4b3c742b2cc3a2a17cffb565fbfda026f0b4bd
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