summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2006-06-12 15:31:25 +0000
committerAndreas Gruenbacher <agruen@suse.de>2006-06-12 15:31:25 +0000
commit20d7066d23e1651f8bac16ee56757d5e120410d5 (patch)
tree156f331fcec7cfd67eba5eb10e289f5b3b2f67a2 /test
parent8bb20d9930841e6c233c9be926c0d79fc97c8896 (diff)
downloadquilt-20d7066d23e1651f8bac16ee56757d5e120410d5.tar.gz
- quilt/diff.in, quilt/refresh.in: Add `-p ab' options which
produce a/file and b/file filenams in headers instead of dir.orig/file and dir/file, similar to BK, git, hg patches. - Only touch .pc/$patch/.timestamp when a path actually is being refreshed.
Diffstat (limited to 'test')
-rw-r--r--test/formats.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/formats.test b/test/formats.test
index a30ac45..8fcb53c 100644
--- a/test/formats.test
+++ b/test/formats.test
@@ -104,5 +104,18 @@
> ! new
> 4
+ $ quilt diff -p ab
+ > Index: b/test.txt
+ > ===================================================================
+ > --- a/test.txt
+ > +++ b/test.txt
+ > @@ -1,5 +1,5 @@
+ > 1
+ > 2
+ > -old
+ > +new
+ > 4
+ > 5
+
$ cd ..
$ rm -rf d