diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-04-14 06:21:48 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-04-14 06:21:48 +0900 |
| commit | f0338100ed1f386336f34906e2f33a2551e3fea6 (patch) | |
| tree | f66e2780219a50ee945fe68209d728e97fd5503e /githooks | |
| parent | 30ab2d3738b473709ec80132cac6216bf6c552f2 (diff) | |
| download | dotfiles-f0338100ed1f386336f34906e2f33a2551e3fea6.tar.gz dotfiles-f0338100ed1f386336f34906e2f33a2551e3fea6.tar.zst dotfiles-f0338100ed1f386336f34906e2f33a2551e3fea6.zip | |
Update githook/commit-msg: improve handling of '/'
Diffstat (limited to 'githooks')
| -rwxr-xr-x | githooks/commit-msg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/githooks/commit-msg b/githooks/commit-msg index bf3ef2f..5f2561d 100755 --- a/githooks/commit-msg +++ b/githooks/commit-msg @@ -133,4 +133,4 @@ fi # Substitute '###' with '#NNNNN', where 'NNNNN' is the issue number. # '$1' is passed by Git, the file name that holds commit message. -sed -i '' -e "s/###/#${issue_number}/g" $1 +sed -i '' -e "s|###|#${issue_number}|g" $1 |
