Re: AW: Getting the full path of a conflicting file within a custom merge driver?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 2, 2015, 17:47 UTC
- Message-ID
- <xmqq4mmq3sug.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <D8780C527EB1E642B3150E6D705B46D468837AA7@DWPWHMS531.dwpbank.local>
"Gondek, Andreas" <Andreas.Gondek@dwpbank.de> writes:
> thank you for responding this fast. I would suggest providing this > information as an additional parameter (like %A %O %B and %L) maybe > %P.
Yes, per-cent plus a letter is more in line with the way information is passed to the scripts already. Thanks for making a more sensible counter-suggestion. And your %P(ath) sounds like a sensible choice.
It won't be a two-liner, though, as the path is an arbitrary string, unlike the names of the three temporary files, and needs to be quoted for the shell.
Let me see if I can find time today to cook up something.