fast-export: do not refer to non-existing marks
commite3dfe0124172cc9df0d47116be0f9a1c08ba2b21
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 12 May 2012 04:25:51 +0000 (11 23:25 -0500)
tree0a2d5fb769cba205190a9fc7f04252ee31b77c99
parente57531fb500e6f435415693760c494ca918ca6ba
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