From ea4a8a7a00d6a04f68777114ba3a1128d199ce26 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 23 Feb 2010 17:23:15 -0800 Subject: [PATCH] post-applypatch: 'git notes edit -m' is deprecated --- post-applypatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"