post-applypatch: 'git notes edit -m' is deprecated
Junio C Hamano committed
Feb 23, 2010 at 17:23 UTC
ea4a8a7a00d6a04f68777114ba3a1128d199ce26
1 file changed
+1
-1
post-applypatch
+1
-1
index 010081e0ed..dbe3e01b92 100755
--- a/post-applypatch
+++ b/post-applypatch
@@ -40,4 +40,4 @@ head=$(git rev-parse --verify HEAD 2>/dev/null) &&
echo "$head $message_id" >>"$GIT_DIR"/am.log &&
GIT_NOTES_REF=refs/notes/amlog \
- git notes edit -m "Message-Id: $message_id" "$head"
+ git notes add -f -m "Message-Id: $message_id" "$head"