summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-11-12 23:19:24 +0100
committerJean Delvare <jdelvare@suse.de>2014-11-12 23:19:24 +0100
commit5fd023e14932bd01dbd5cbd6636a7ea5531c5d40 (patch)
treee30a495abbb70377386ca2086dc31d305250b80d
parent38f5989a3663c887e908476321aff715cc7b1cec (diff)
downloadquilt-5fd023e14932bd01dbd5cbd6636a7ea5531c5d40.tar.gz
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.
-rw-r--r--quilt/scripts/patchfns.in5
1 files changed, 5 insertions, 0 deletions
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" "$@"
}