Documentation: update git configuration for Link: tag
[linux-2.6-microblaze.git] / Documentation / maintainer / configure-git.rst
index 80ae503..ec0ddfb 100644 (file)
@@ -56,7 +56,7 @@ by adding the following hook into your git:
        $ cat >.git/hooks/applypatch-msg <<'EOF'
        #!/bin/sh
        . git-sh-setup
-       perl -pi -e 's|^Message-Id:\s*<?([^>]+)>?$|Link: https://lore.kernel.org/r/$1|g;' "$1"
+       perl -pi -e 's|^Message-I[dD]:\s*<?([^>]+)>?$|Link: https://lore.kernel.org/r/$1|g;' "$1"
        test -x "$GIT_DIR/hooks/commit-msg" &&
                exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
        :