Re: Arbitrary hunk sizes for patch
>> When modifying patch files, i'm getting a bit sick of counting lines >> just >> so I can modify hunk sizes to correctly apply a patch. > > FWIW, Emacs's diff-mode can do that for you. Yeah, but so can a perl one-liner :) Alfie ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: Arbitrary hunk sizes for patch
>> When modifying patch files, i'm getting a bit sick of counting lines >> just >> so I can modify hunk sizes to correctly apply a patch. > > Wrong list. You want to ask this on bug-patch (the address listed in > 'patch --help'). However, 'git apply', which is very similar to patch, > has already implemented this concept, in its --recount option, so it seems > like a reasonable request. Thanks Eric. Will cross posting. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Arbitrary hunk sizes for patch
Hi list, When modifying patch files, i'm getting a bit sick of counting lines just so I can modify hunk sizes to correctly apply a patch. Then I noticed at the bottom of the man page for "patch": "Paul Eggert removed patchs arbitrary limits" Has that statement got anything to do with arbitrary hunk sizes? If so, could this be reinstated but only turned on with a flag e.g. "-a or --abitrary-size" Alfie ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils