fast-export: do not refer to non-existing marks
commit5d999308f50c3a5391a6409d24925ab5fbe60c4f
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 5 Jun 2012 18:44:21 +0000 (5 13:44 -0500)
tree5f3ab598f61df9b7e6d27dc9b5fb196d1c9d000e
parentfae584fd555f134ee891c649f3065f2cd94389ea
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