fast-export: do not refer to non-existing marks
commitbdbb22fb7d72c259fd9372c892b78a9a996f52c2
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 19 Jun 2012 22:37:51 +0000 (19 23:37 +0100)
treea21d001c845c75d1b0e11288ff5488c999ccc8cb
parentbd13d5e853bf1548f5f39e3ff2459e86950ccf6f
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