fast-export: do not refer to non-existing marks
commitb46d7536fb03a160d078eb7fd01d98663785516e
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerMichael J Gruber <git@drmicha.warpmail.net>
Fri, 30 Nov 2012 08:54:12 +0000 (30 09:54 +0100)
treee9cbc35a653a45a449135176cbc50f4bebe9bbb7
parentf5d7ce27170153d8e878fac9f9ba0dff8b05aac2
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