threads / discuss / 24822

kill filter-branch --remap-to-ancestor?

Subject: kill filter-branch --remap-to-ancestor?

## tl;dr

2 messages between Aug 21, 2010 and Aug 25, 2010.

replies: 1people: 2as markdown or json

Csaba Henk· Aug 21, 2010, 20:32 UTC · lore
I had some headache with the issue to which the cure is the "--remap-to-ancestor" option of git filter-branch -- back when "--remap-to-ancestor" was not yet (cf. http://thread.gmane.org/gmane.comp.version-control.git/112068/focus=112838). 

This time, in a similar situation, I had some headache with finding out that the panacea is already there and it's called "--rema p-to-ancestor".

Why not cut back on complexity and get rid of "--remap-to-ancestor" while automatically enable the implied behavior for filters including a path? This was already proposed by Junio and the author of the option had no objections against this idea (see http://thread.gmane.org/gmane.comp.version-control.git/130949/focus=132684).

Csaba
Junio C Hamano· Aug 25, 2010, 18:58 UTC · re: Csaba Henk · lore

Re: kill filter-branch --remap-to-ancestor?

Csaba Henk <csaba@gluster.com> writes:
Show 13 quoted lines
> I had some headache with the issue to which the cure is the
> "--remap-to-ancestor" option of git filter-branch -- back when
> "--remap-to-ancestor" was not yet
> (cf. http://thread.gmane.org/gmane.comp.version-control.git/112068/focus=112838).
>
> This time, in a similar situation, I had some headache with finding out
> that the panacea is already there and it's called "--remap-to-ancestor".
>
> Why not cut back on complexity and get rid of "--remap-to-ancestor"
> while automatically enable the implied behavior for filters including a
> path? This was already proposed by Junio and the author of the option
> had no objections against this idea (see
> http://thread.gmane.org/gmane.comp.version-control.git/130949/focus=132684).

I am not a heavy user of filter-branch myself (I used it once during the past 6 months and it was with pathspec but the project did not have any tags, so that particular exercise does not matter).

I do not offhand see a reason not to. Please make it so, if you are so inclined, or perhaps somebody else may volunteer?

← back to recent threads