summaryrefslogtreecommitdiffstats
path: root/test/example1.test
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-02-14 15:52:57 +0100
committerJean Delvare <jdelvare@suse.de>2014-02-14 15:52:57 +0100
commit4d8358ae52ce574920c7f3aba7453f305fabf1ba (patch)
treeaf7a0817511b152500712622d0812207c596047a /test/example1.test
parent1b9b6c60abb2537c114828ea597fad65c26ea51a (diff)
downloadquilt-4d8358ae52ce574920c7f3aba7453f305fabf1ba.tar.gz
files: Return nothing if there are no files
"quilt files" returns a blank line if no files are included in the patch. This could easily break constructs such as "quilt files | wc -l". Let "quilt files" return nothing at all if there are no files in the patch.
Diffstat (limited to 'test/example1.test')
-rw-r--r--test/example1.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/example1.test b/test/example1.test
index ec73b81..7eaa228 100644
--- a/test/example1.test
+++ b/test/example1.test
@@ -12,6 +12,7 @@ http://the-tech.mit.edu/Shakespeare/midsummer/full.html
$ quilt new flower.diff
> Patch %{P}flower.diff is now on top
+ $ quilt files
$ quilt add Oberon.txt
> File Oberon.txt added to patch %{P}flower.diff