diff options
-rw-r--r-- | quilt.changes | 2 | ||||
-rw-r--r-- | quilt/top.in | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/quilt.changes b/quilt.changes index 6b1de14..cd67978 100644 --- a/quilt.changes +++ b/quilt.changes @@ -4,6 +4,8 @@ Thu Feb 5 11:51:21 CET 2004 - agruen@suse.de - Add some fixes from Manuel Estrada Sainz <ranty@debian.org>. - Add QUILT_SERIES setting: Override the location of the series file to use. +- Don't print an empty line for `quilt top' if no patches are + applied. ------------------------------------------------------------------- Tue Feb 3 12:58:49 CET 2004 - agruen@suse.de diff --git a/quilt/top.in b/quilt/top.in index 4153bf1..70fc162 100644 --- a/quilt/top.in +++ b/quilt/top.in @@ -61,7 +61,10 @@ fi top=$(top_patch) [ -n "$opt_filenames" ] && top=$(patch_file_name $top) -echo "$top" +if [ -n "$top" ] +then + echo "$top" +fi ### Local Variables: ### mode: shell-script ### End: |