author | Elijah Newren <newren@gmail.com> | |
Fri, 26 Jun 2009 04:48:28 +0000 (22:48 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 27 Jun 2009 21:10:09 +0000 (14:10 -0700) | ||
commit | 02c48cd69b3ebfac3867f0f9ceb1503a5af118fc | |
tree | 66994995f7af4de50adbca725914df6360a78c91 | tree | snapshot |
parent | 668f3aa776bcd293de08413bf1b25b91c15f1b01 | commit | diff |
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>
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 | diff | blob | history | |
t/t9301-fast-export.sh | diff | blob | history |