fast-export: do not refer to non-existing marks
commitb1a3988796ffd38c9d9f7e65ed3d1275fbd3f4dd
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:41:58 +0000 (29 10:41 +0200)
tree476e7ab12735ee6bcc038b9536c70077c9e99a8b
parentec765f62e21aa1d3f2ad565a93844758021cc68d
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