aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2020-07-03 14:21:24 +0300
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-07-07 15:37:57 -0400
commitbaa5b9fb51a094ddfee294f3610d1cbdb2943cac (patch)
tree427036a6404b5d0509b731d4348b1938e17ace9e
parent852e334191af5b6bc6825424acc5cfed3891272d (diff)
downloadb4-baa5b9fb51a094ddfee294f3610d1cbdb2943cac.tar.gz
man: Update commit url mask to contain 12 chars of ID
Use 12 characters for the commit ID, similar to what git log --oneline uses. 10 chars of ID is sometimes not enough and git.kernel.org returns "Bad object ID". Example: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?id=482dcb2a04 Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--man/b4.5.rst2
-rw-r--r--thanks-am-template.example2
-rw-r--r--thanks-pr-template.example2
3 files changed, 3 insertions, 3 deletions
diff --git a/man/b4.5.rst b/man/b4.5.rst
index 21ba447..2591a04 100644
--- a/man/b4.5.rst
+++ b/man/b4.5.rst
@@ -262,7 +262,7 @@ Default configuration, with explanations::
# How long to keep downloaded threads in cache (minutes)?
cache-expire = 10
# Used when creating summaries for b4 ty, and can be set to a value like
- # thanks-commit-url-mask = https://git.kernel.org/username/c/%.10s
+ # thanks-commit-url-mask = https://git.kernel.org/username/c/%.12s
# See this page for more info on convenient git.kernel.org shorterners:
# https://korg.wiki.kernel.org/userdoc/git-url-shorterners
thanks-commit-url-mask = None
diff --git a/thanks-am-template.example b/thanks-am-template.example
index 40239f3..b2c8986 100644
--- a/thanks-am-template.example
+++ b/thanks-am-template.example
@@ -27,7 +27,7 @@ Applied to ${branch}, thanks!
# to the commit id in your tree, so you probably want to set
# b4.thanks-commit-url-mask in gitconfig to a value like:
# [b4]
-# thanks-commit-url-mask = https://git.kernel.org/username/c/%.10s
+# thanks-commit-url-mask = https://git.kernel.org/username/c/%.12s
#
# Check this page for info on convenient URL shorteners:
# https://korg.wiki.kernel.org/userdoc/git-url-shorterners
diff --git a/thanks-pr-template.example b/thanks-pr-template.example
index bb146f5..13bd205 100644
--- a/thanks-pr-template.example
+++ b/thanks-pr-template.example
@@ -27,7 +27,7 @@ Merged into ${branch}, thanks!
# so you probably want to set b4.thanks-commit-url-mask in gitconfig
# to a value like:
# [b4]
-# thanks-commit-url-mask = https://git.kernel.org/username/c/%.10s
+# thanks-commit-url-mask = https://git.kernel.org/username/c/%.12s
#
# Check this page for info on convenient URL shorteners:
# https://korg.wiki.kernel.org/userdoc/git-url-shorterners