From: Junio C Hamano Date: Wed, 24 Feb 2010 01:23:15 +0000 (-0800) Subject: post-applypatch: 'git notes edit -m' is deprecated X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea4a8a7a00d6a04f68777114ba3a1128d199ce26;p=thirdparty%2Fgit.git post-applypatch: 'git notes edit -m' is deprecated --- diff --git a/post-applypatch b/post-applypatch 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"