From 5fd023e14932bd01dbd5cbd6636a7ea5531c5d40 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 12 Nov 2014 23:19:24 +0100 Subject: Allow patch format options to pass through 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(+) diff --git a/quilt/scripts/patchfns.in b/quilt/scripts/patchfns.in index 94fc3b7..3fa26bb 100644 --- a/quilt/scripts/patchfns.in +++ b/quilt/scripts/patchfns.in @@ -998,6 +998,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" "$@" } -- cgit