bug-patch
[Top][All Lists]
Advanced

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

Re: [bug-patch] GNU patch close to next stable release (2)


From: Junio C Hamano
Subject: Re: [bug-patch] GNU patch close to next stable release (2)
Date: Wed, 01 Aug 2012 10:58:06 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Andreas Grünbacher <address@hidden> writes:

> * Support for double-quoted filenames in the "diff --git" format: when a
>   filename starts with a double quote, it is interpreted as a C string
>   literal.  The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v, and \ooo
>   (a three-digit octal number between 0 and 255) are recognized.

Is this also available in non-git diffs?  IIRC, this extension to
allow funny characters in pathnames was proposed by and discussed
with Paul Eggert (listed as one of GNU diffutils maintainers at
www.gnu.org/software/diffutils/) and git happened to adopt it
earlier than "GNU diff" itself did.

I found it a bit odd to see this listed as one of the items needed
to support "diff --git" oddity.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]