neilbrown / wiggle

apply rejected patches and perform word-wise diffs
http://neil.brown.name/wiggle
GNU General Public License v2.0
91 stars 8 forks source link

--no-backup still creates .porig file #25

Closed tekumara closed 11 months ago

tekumara commented 12 months ago

eg:

❯ wiggle --version
wiggle 1.3 2020-10-03 GPL-2+ http://neil.brown.name/wiggle/
❯ wiggle --no-backup --replace Makefile-common.mk Makefile-common.mk.rej
❯ ls Makefile-common.mk.porig
Makefile-common.mk.porig
❯ wiggle --no-backup --replace Makefile-common.mk Makefile-common.mk.rej
wiggle: Makefile-common.mk.porig already exists
neilbrown commented 11 months ago

Thanks for the report. I clearly was bit hasty when I added --no-backup support. A proper fix will land shortly.