Re: [PATCH] diff: add a 'path' meta header for non-renames and non-copies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ditto.  I frequently generate patches for other systems (primarily
svn) and they require diffs w/o perfixes.  Seemed like there should be
a way to enable this option in gitconfig so users don't need to type
--no-prefix w every diff invocation or use an alias (aliasing diff to
diff --no-prefix in gitconfig doesn't work and wouldn't be a good idea
anyway).

Thanks,
Eli


On Tue, May 4, 2010 at 12:30 PM, Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> wrote:
> On Tue, May 4, 2010 at 03:34, Junio C Hamano <gitster@xxxxxxxxx> wrote:
>> Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> writes:
>>
>>> ... do you have any other
>>> thoughts on adding a <path> extended header for non-renames and
>>> non-copies?
>>
>> Other than "Why do we even need it?", no.  We actually have been careful
>> when designing the output format to make sure that necessary information
>> appears.
>>
>> See also this thread:
>>
>>    http://thread.gmane.org/gmane.comp.version-control.git/3990/focus=4002
>>
>> I wasn't too opposed to having a separate "Index: " line (or Anton's
>> "name") like CVS does, but the conclusion of the thread was that it is not
>> necessary.
>>
>
> Thanks for the pointer. The discussion revolves around technical
> arguments and the conclusion that this extra information is not
> necessary is reasonable. My intention for this information comes only
> from the usability and convenience side: I want a path without any
> prefix which I can select in the terminal and use this to open the
> file. Thats why it is only an option for the UI interface.
>
> Bert
>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]