In order to make "quilt_command refresh" work properly, we must ensure
that format options are passed through.
---
 quilt/scripts/patchfns.in |    5 +++++
 1 file changed, 5 insertions(+)

--- a/quilt/scripts/patchfns.in
+++ b/quilt/scripts/patchfns.in
@@ -981,6 +981,11 @@ quilt_command()
        local command=$1
        shift
 
+       # Refreshing here must produce the same output as "quilt refresh" on
+       # the command line
+       export QUILT_NO_DIFF_INDEX
+       export QUILT_NO_DIFF_TIMESTAMPS
+
        QUILT_COMMAND="" bash $BASH_OPTS -c "${SUBDIR:+cd $SUBDIR;} . 
$QUILT_DIR/$command" "quilt $command" "$@"
 }
 

-- 
Jean Delvare
SUSE L3 Support


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

Reply via email to