fast-export: do not refer to non-existing marks
commit30affe4c09ec395f5f260600907d4f1b6d8fea73
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 23 Jul 2011 13:55:26 +0000 (23 15:55 +0200)
committerStepan Kasal <kasal@ucw.cz>
Wed, 16 Apr 2014 14:32:58 +0000 (16 16:32 +0200)
tree6a841a6c7012bc171fd0273ccca83d3a514c0fc2
parentd4c36517ad7e3a3537719a79f95e48d1e0caf64a
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