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
@@ -40,4 +40,4 @@ head=$(git rev-parse --verify HEAD 2>/dev/null) &&
40
41
echo "$head $message_id" >>"$GIT_DIR"/am.log &&
42
GIT_NOTES_REF=refs/notes/amlog \
43
- git notes edit -m "Message-Id: $message_id" "$head"
43
+ git notes add -f -m "Message-Id: $message_id" "$head"