Hi,

When the --diffstat option is used with 'quilt ref', one gets output
like the following:

[EMAIL PROTECTED] quilt]$ quilt refresh
/tmp/quilt_refresh.N21384
.
Refreshed patch fix-diffstat-garbage.patch

The listing of the temporary file and the extra "." or ".." characters
is just noise.  The following patch should fix it so this is no longer
printed.

thx,
josh

----

 quilt/refresh.in |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: quilt/quilt/refresh.in
===================================================================
--- quilt.orig/quilt/refresh.in 2005-05-23 20:40:18.713534256 -0500
+++ quilt/quilt/refresh.in      2005-05-23 21:24:13.218028696 -0500
@@ -243,7 +243,7 @@ tmp_result=$(gen_tempfile) || die 1
 
 if [ -n "$opt_diffstat" ]
 then
-       diffstat="$(@DIFFSTAT@ -p$opt_strip_level $tmp_patch)" || die 1
+       diffstat="$(@DIFFSTAT@ -p$opt_strip_level $tmp_patch 2> /dev/null)" || 
die 1
        @AWK@ '
            function print_diffstat(arr, i) {
              split(diffstat, arr, "\n")



_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to