projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b4d47
)
Documentation: update git configuration for Link: tag
author
Johannes Berg
<johannes.berg@intel.com>
Mon, 19 Jun 2023 09:55:34 +0000
(11:55 +0200)
committer
Jonathan Corbet
<corbet@lwn.net>
Wed, 21 Jun 2023 15:15:15 +0000
(09:15 -0600)
The latest version of git (2.41.0) changed the spelling
of Message-Id to Message-ID. Adjust the perl script here
to accept both spellings.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Tested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link:
https://lore.kernel.org/r/20230619115533.981f6abaca01.I1960c39b1d61e8514afcef4806a450a209133187@changeid
Documentation/maintainer/configure-git.rst
patch
|
blob
|
history
diff --git
a/Documentation/maintainer/configure-git.rst
b/Documentation/maintainer/configure-git.rst
index
80ae503
..
ec0ddfb
100644
(file)
--- a/
Documentation/maintainer/configure-git.rst
+++ b/
Documentation/maintainer/configure-git.rst
@@
-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-I
d
:\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+"$@"}
: