diff options
author | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2018-05-11 18:44:33 +0200 |
---|---|---|
committer | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2018-05-11 18:44:33 +0200 |
commit | 7a6cac1942281fbd66c0e46e3be068b9198addce (patch) | |
tree | 521e76529f379c273a2ae120239bcecbe86e7feb /dev | |
parent | b778b0d6b865e47c80196c441451ea3a02ad92b9 (diff) | |
parent | 595c72556bf0104fc1d7813de6e355091655ed11 (diff) |
Merge PR #7470: use at least 6 Xs in mktemp filename templates
Diffstat (limited to 'dev')
-rwxr-xr-x | dev/tools/pre-commit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/tools/pre-commit b/dev/tools/pre-commit index b56925c37..ad2f2f93e 100755 --- a/dev/tools/pre-commit +++ b/dev/tools/pre-commit @@ -14,9 +14,9 @@ then # We fix whitespace in the index and in the working tree # separately to preserve non-added changes. - index=$(mktemp "git-fix-ws-index.XXXXX") - fixed_index=$(mktemp "git-fix-ws-index-fixed.XXXXX") - tree=$(mktemp "git-fix-ws-tree.XXXXX") + index=$(mktemp "git-fix-ws-index.XXXXXX") + fixed_index=$(mktemp "git-fix-ws-index-fixed.XXXXXX") + tree=$(mktemp "git-fix-ws-tree.XXXXXX") 1>&2 echo "Patches are saved in '$index', '$fixed_index' and '$tree'." 1>&2 echo "If an error destroys your changes you can recover using them." 1>&2 echo "(The files are cleaned up on success.)" |