Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: git filter-branch doesn't dereference annotated tags

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:55:38

Grégory Pakosz [off-list ref] writes:
So we have an annotated tag that points to a commit that is rewritten
to nothing as the result of the filtering. What should happen?
If the user asked to filter that tag itself, it may make sense to
remove it, rather than keeping it pointing at the original commit,
because the commit it used to point at no longer exists in the
alternate history being created by filter-branch.
It's basically the same problem. In my opinion, lines 447-466 should
take into account $new_sha1 is empty.
Yeah, I think that is a sensible observation.

Having said that, I welcome comments from others, of course.  My
involvement in this script has been very limited.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help