fast-export: do not refer to non-existing marks
commitb4686c7fa7467445a59c3b09876cebbace2cb58e
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 20 May 2012 23:45:42 +0000 (20 17:45 -0600)
tree716d02549a6ea300670eb8d48a7d4a2b1874e670
parentd4360b46822079c0ee8cc1c8159b022286eec826
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