diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2020-07-03 14:21:24 +0300 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-07-07 15:38:34 -0400 |
commit | 2737ccdd3dbf58e330ace3ec658511bfbd715059 (patch) | |
tree | 48e82b71c70102813fc50554dd1d943d1c9dfe2e | |
parent | 374b96a91c167a947d5f607ae9db5992ff8d2cb4 (diff) | |
download | b4-2737ccdd3dbf58e330ace3ec658511bfbd715059.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.rst | 2 | ||||
-rw-r--r-- | thanks-am-template.example | 2 | ||||
-rw-r--r-- | thanks-pr-template.example | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/man/b4.5.rst b/man/b4.5.rst index a5d64b6..72357f5 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 |