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"