diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-02-14 15:52:57 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2014-02-14 15:52:57 +0100 |
commit | 4d8358ae52ce574920c7f3aba7453f305fabf1ba (patch) | |
tree | af7a0817511b152500712622d0812207c596047a /test | |
parent | 1b9b6c60abb2537c114828ea597fad65c26ea51a (diff) | |
download | quilt-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')
-rw-r--r-- | test/example1.test | 1 |
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 |