fast-export: do not refer to non-existing marks
commit5c1c7a4867052646ccdb30e1268493512282d1a3
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 6 Apr 2012 21:49:52 +0000 (6 16:49 -0500)
treed5d759bef2abdb389f96399e3e1b6a1c08c344c6
parent6d24bb3c35ddde7a1cde4bb81b9308500b32a121
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