]> git.ipfire.org Git - thirdparty/git.git/commitdiff
post-applypatch: 'git notes edit -m' is deprecated
authorJunio C Hamano <gitster@pobox.com>
Wed, 24 Feb 2010 01:23:15 +0000 (17:23 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Feb 2010 01:23:15 +0000 (17:23 -0800)
post-applypatch

index 010081e0ed71dea97d07301ffeb2749c93804719..dbe3e01b928880b7d75055799d3732328b8b4dbe 100755 (executable)
@@ -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"