Public bug reported:
GNU patch 2.7.1
Steps:
echo "--- /dev/null
+++ first/filename.txt
@@ -0,0 +1,2 @@
+line 1
+line 2" | patch -p0 --dry-run
Expected:
No modifications on file system
(if expectation is wrong, maybe documentation needs tuning)
Actually happens:
There are new directory: first
** Affects: patch (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1245437
Title:
patch --dry-run creates directories
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/patch/+bug/1245437/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs