quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] [PATCH] diff/refresh: Quote file names which contain a s


From: Andreas Grünbacher
Subject: Re: [Quilt-dev] [PATCH] diff/refresh: Quote file names which contain a space
Date: Thu, 13 Apr 2023 00:21:32 +0200

Jean,

Am Mi., 12. Apr. 2023 um 16:43 Uhr schrieb Andreas Grünbacher <agruen@gnu.org>:
> Hi Jean,
>
> Am Mi., 12. Apr. 2023 um 16:23 Uhr schrieb Jean Delvare <jdelvare@suse.de>:
> > GNU diff quotes file names which contain a space, and GNU patch
> > expects that as well (oddly enough, only when the patch header does
> > not include timestamps). Do the same so that the patches we generate
> > can always be applied.
>
> this is the case since commit e17295d [*], but the quoting rule GNU
> diff uses is different. I wonder if quilt shouldn't use the same rule.
> It's going to be ugly to code in bash, but ...
>
> https://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=e17295dc5529b252c269f12e081184bbde42d575

see if you find the attached bash code of any use.

Andreas

Attachment: quoting
Description: Binary data


reply via email to

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