'git repo-config' is deprecated. change to 'git config'
[git-tools-moved-to-github.git] / id-new-project / post-receive-email-id
index 741bbf7..e02ca79 100644 (file)
@@ -620,9 +620,9 @@ then
        projectdesc="UNNAMED PROJECT"
 fi
 
-recipients=$(git repo-config hooks.mailinglist)
-announcerecipients=$(git repo-config hooks.announcelist)
-envelopesender=$(git-repo-config hooks.envelopesender)
+recipients=$(git config hooks.mailinglist)
+announcerecipients=$(git config hooks.announcelist)
+envelopesender=$(git-config hooks.envelopesender)
 
 # --- Main loop
 # Allow dual mode: run from the command line just like the update hook, or if