2012/8/1 Junio C Hamano <gits...@pobox.com>:
> Andreas Grünbacher <agr...@gnu.org> 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?
I have only enabled this for git-style diffs for now. GNU diff doesn't do
filename quoting so far and if it eventually implements a slightly different
form of quoting (which I wouldn't recommend), we might be in trouble.
> 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.
Paul and Jim, any thoughts about adding filename quoting to GNU diff anytime
soon, or about the format?
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html