fast-export: do not refer to non-existing marks
commitce357ce2da5b12d1b9ef8a7ea10ef275ec48958e
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 3 May 2012 16:13:35 +0000 (3 11:13 -0500)
treebcb00a592998d081d5282a5cf782a72d527de51e
parente81d4988f9a2a79675f5f36bb894358da9eed70b
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