fast-export: do not refer to non-existing marks
commit9c827d1221fa42ce80fb4a5f17e9c02461347324
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, 30 Mar 2012 20:31:12 +0000 (30 15:31 -0500)
tree130b7dbf220b1605c785dc93776c2a597a5a8928
parentf0a1b8cae47c53960ee6a323ae7ec86645de4750
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