diff options
Diffstat (limited to 'githooks')
-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" |