diff options
author | edef <edef@unfathomable.blue> | 2022-06-19 16:48:56 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-06-19 16:57:30 +0000 |
commit | 4474798a6b360ee68beac41dc65565dcd3e956fc (patch) | |
tree | 2a1eb5cb90f66d79ad0c09665677a68bb9989f0a /githooks/commit-msg | |
parent | c92e98b0847a917a7e436ef738eebb93f51e5de8 (diff) | |
download | unf-legacy-4474798a6b360ee68beac41dc65565dcd3e956fc.tar.zst |
githooks/commit-msg: use git-interpret-trailers --in-place
Change-Id: I31567a95f4d55e7cee526eb5432201087aaa3a1a
Diffstat (limited to 'githooks/commit-msg')
-rwxr-xr-x | githooks/commit-msg | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/githooks/commit-msg b/githooks/commit-msg index c4c7736..931a4ad 100755 --- a/githooks/commit-msg +++ b/githooks/commit-msg @@ -11,5 +11,4 @@ fi git interpret-trailers \ --if-exists doNothing \ --trailer "Change-Id:I$change_id" \ - "$1" > "$1.tmp" -mv "$1.tmp" "$1" + --in-place "$1" |