From: Junio C Hamano Date: Wed, 27 May 2009 20:50:35 GMT Subject: Re: [PATCHv2 3/4] git-am foreign patch support: StGIT support Message-ID: <7vmy8yi82s.fsf@alter.siamese.dyndns.org> In-Reply-To: Giuseppe Bilotta writes: > On Wed, May 27, 2009 at 9:19 AM, Junio C Hamano wrote: >> Giuseppe Bilotta writes: >> >>> +             # set the patch format appropriately >>> +             patch_format=stgit >>> +             # now handle the actual StGIT patches >>> +             split_patches "$@" >> >> Can an stgit patch file (or the leading pathname for that matter) have IFS >> character in its name? > > StGIT sanitizes filenames in a way similar to what format-patch does. Good ;-) >> Since we rely on Perl but not awk in core-ish part of the scripted >> Porcelains, it might be a good idea to write this in Perl as well. > > By 'as well' you mean in case awk is missing, and have both, or by > only keeping a perl version? "As well" I meant "Using Perl instead of awk, just like other scripted Porcelains."