summaryrefslogtreecommitdiffstats
path: root/test/null-bug.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/null-bug.test')
-rw-r--r--test/null-bug.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/null-bug.test b/test/null-bug.test
index 324690a..b8ad46e 100644
--- a/test/null-bug.test
+++ b/test/null-bug.test
@@ -8,7 +8,18 @@
$ quilt add file
> File file added to patch patches/remove.diff
+In this case, the original file in the --- line must not have .orig appended
+or else patch won't know the real original filename anymore.
+
$ rm file
+ $ quilt diff -p0
+ > Index: file
+ > ===================================================================
+ > --- file
+ > +++ /dev/null
+ > @@ -1 +0,0 @@
+ > -file
+
$ quilt ref -p0
> Refreshed patch patches/remove.diff