Package: patch Version: 2.6.1.85-423d-1 Severity: wishlist Tags: upstream Hi Christoph,
This is the flip side to [1]. Andreas Schwab wrote[2]: > Since --dry-run doesn't actually perform any changes it can easily be > fooled when a file is patched twice. Reproduction recipe: $ patch --version | head -1 GNU patch 2.6.1.85-423d $ cd ~/src/linux-2.6 $ git checkout 2bfc96a12 $ git clean -fd $ wget http://download.gmane.org/gmane.linux.ports.sh.devel/8747/8748 $ patch -p1 --quiet --dry-run <8748 $ echo $? 0 $ patch -p1 --quiet <8748 2 out of 2 hunks FAILED -- saving rejects to file include/linux/clkdev.h.rej $ echo $? 1 Thoughts welcome, but I am mostly submitting this so it is not forgotten. Thanks for keeping patch working nicely. [1] http://savannah.gnu.org/bugs/?25860 [2] http://thread.gmane.org/gmane.linux.ports.sh.devel/8697/focus=155270 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org