fast-export: do not refer to non-existing marks
commitd3ac32cc68db1c9bf03427f48814ed68603eb6b7
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, 1 Oct 2012 13:35:13 +0000 (1 14:35 +0100)
tree707873e1d6710ca610c7cc0e1c765c34a44ca111
parent7142f234055794cf531be2524ffea34f77e08d11
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