summary refs log tree commit diff
path: root/githooks
diff options
context:
space:
mode:
Diffstat (limited to 'githooks')
-rwxr-xr-xgithooks/commit-msg3
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"