summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-09-22 11:48:33 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-09-22 11:48:33 +0000
commit518d019508cf05471be6b249d1e0f66961a8eb6d (patch)
tree36add8ccc8272c8af615dcc94992041328988b3a /scripts/patchfns.in
parent117e66f40d01d34d4be2336029f4a55b5d51d762 (diff)
downloadquilt-518d019508cf05471be6b249d1e0f66961a8eb6d.tar.gz
- scripts/patchfns.in: set the dotglob option so that dot files
will show up in file globs as well. Bug reported by James Rowe. - Add a missing tab to the patch header of files that are removed. Bug reported by James Rowe. - Push command: Without -f or --leave-rejects, when applying a patch failed, the *.rej files were not removed properly. Change the code so that they won't be created in the working tree in the first place this case. - test/run script: Oops, the previouos commit was not the latest version. - Bump version to 0.36.
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r--scripts/patchfns.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index 36f3d4f..5ce5c6d 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -22,6 +22,7 @@ DB_VERSION=2
: ${QUILT_PC:=.pc}
unset CDPATH
+shopt -s dotglob
if [ -e "$QUILTRC" ]
then
@@ -532,7 +533,7 @@ diff_file()
new_file=/dev/null
new_hdr=/dev/null
[ -n "$QUILT_NO_DIFF_TIMESTAMPS" ] \
- || new_date="1970-01-01 00:00:00.000000000 +0000"
+ || new_date=$'\t'"1970-01-01 00:00:00.000000000 +0000"
else
[ -n "$QUILT_NO_DIFF_TIMESTAMPS" ] \
|| new_date=$'\t'$(date +'%Y-%m-%d %H:%M:%S.%N %z' \