fast-export: do not refer to non-existing marks
commit8a0359aec2b33d919d1ab454fc95cfb263a9a759
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 31 Jan 2013 23:46:39 +0000 (31 23:46 +0000)
tree9443ba64bb9c2548c9b773691a3a015000e9f557
parent8e3bf36670361a9f7872e7c77dae4e7be68727c6
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