fast-export: do not refer to non-existing marks
commit685ebd834a077c32160e8b8abec3806c2de2302a
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 22 Oct 2012 12:30:59 +0000 (22 13:30 +0100)
tree3fb6c884b6139f8b131849a5956c59e56090f3fb
parent9a29f80d435d8380bb1234694605ba82421be347
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