Re: Make patch-id more flexible?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 24, 2017, 07:51 UTC
- Message-ID
- <xmqqlgiwm7x1.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20171124073327.GA15188@vmlxhi-102.adit-jv.com>
Eugeniu Rosca <erosca@de.adit-jv.com> writes:
Show 5 quoted lines
> file-names. Here comes my actual question. Would it be conceptually fine > to implement some `git patch-id` parameter, which would allow ignoring > the file-names (or reducing those to their `basename`) before computing > the patch id? Or would it break the concept of patch id (which shouldn't > accept variations)?
My gut feeling is that a tool like that would be fine as long as it is local to your organization and is not called "git patch-id"; it may be useful in the situation you described, but as you mention above, it feels that it is differnt from what a patch-id is.