patch --dry-run creates directories
Bug #1245437 reported by
Aapo Rantalainen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
patch (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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
To post a comment you must log in.