fast-export: Omit tags that tag trees
commit02c48cd69b3ebfac3867f0f9ceb1503a5af118fc
authorElijah Newren <newren@gmail.com>
Fri, 26 Jun 2009 04:48:28 +0000 (25 22:48 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Jun 2009 21:10:09 +0000 (27 14:10 -0700)
tree66994995f7af4de50adbca725914df6360a78c91
parent668f3aa776bcd293de08413bf1b25b91c15f1b01
fast-export: Omit tags that tag trees

Commit c0582c53bcf4e83bba70e1ad23abbad31f96ebc8 introduced logic to just
omit tags that point to tree objects.  However, these objects were still
being output and were pointing at "mark :0", which caused fast-import to
crash.  This patch makes sure such tags (including deeper nestings such
as tags of tags of trees), are omitted.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fast-export.c
t/t9301-fast-export.sh