fast-export: do not refer to non-existing marks
commit9da403f706b3f6410c2226f67eeec03819848e9f
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerStepan Kasal <kasal@ucw.cz>
Thu, 15 May 2014 07:42:54 +0000 (15 09:42 +0200)
treea86bead2bf3308f87716f42ee9db0e7950755114
parent94696668a7cd46bc0a9e43c0496445d227d7bf98
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