diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-08-18 15:30:07 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-08-18 15:30:07 +0100 |
commit | 19d5fe05b5568ba5e8119f302f0bb9cbc043e732 (patch) | |
tree | 13caece350413e78d462b4d9d9709d8caca194bb /dgit | |
parent | 0f8af6bb8e37dc0fc36b327146082bd2b4363195 (diff) |
When running git-add in commit-quilty-patch, properly escape filenames (which git-add treats as glob patterns).
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1783,7 +1783,8 @@ sub commit_quilty_patch () { progress "nothing quilty to commit, ok."; return; } - runcmd_ordryrun_local @git, qw(add), sort keys %adds; + my @adds = map { s/[][*?\\]/\\$&/g; $_; } sort keys %adds; + runcmd_ordryrun_local @git, qw(add), @adds; commit_admin "Commit Debian 3.0 (quilt) metadata"; } |