fast-export: do not refer to non-existing marks
commit0203a8e850904773155e1df6e7fa87c2e2585ed8
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 13 Sep 2013 08:37:22 +0000 (13 09:37 +0100)
tree6023eacf362cec78da5b18638b31a4ce2f7d5e81
parent9d859082d8b0794eed22622c788f34a351f35efb
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