diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-04-17 15:03:40 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-04-17 15:03:40 -0400 |
commit | d77b3df240768c6d2ede4b99dbe09fb661327ff8 (patch) | |
tree | 504ab37ebeedf767af5cc544a8da9410514a67e5 /thanks-am-template.example | |
parent | d6d552386ad2fc7b215a4a4e9860144975a3240f (diff) | |
download | b4-d77b3df240768c6d2ede4b99dbe09fb661327ff8.tar.gz |
Expand templates with ${branch} and ${treename}
You can use ${branch} and ${treename} (if you set b4.thanks-treename).
See .example files on some hints on how to use them.
Suggested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'thanks-am-template.example')
-rw-r--r-- | thanks-am-template.example | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/thanks-am-template.example b/thanks-am-template.example index 72a8759..40239f3 100644 --- a/thanks-am-template.example +++ b/thanks-am-template.example @@ -9,7 +9,19 @@ On ${sentdate}, ${fromname} wrote: # quote will be limited to 5-6 lines, respecting paragraphs ${quote} -Applied, thanks! +# You can also use ${branch} and ${treename} if you set +# b4.thanks-treename in your config, e.g.: +#Applied to ${treename} (${branch}), thanks! +# +# If you track multiple remotes in the same repo, then you can add +# the following values to [remote], to be loaded when you run +# b4 ty -b foo/branchname: +# [remote "foo"] +# url = https://... +# fetch = ... +# b4-treename = uname/sound.git +# b4-commit-url-mask = https://git.kernel.org/uname/sound/c/%.8s +Applied to ${branch}, thanks! # for patch series, the summary is a list of each patch with a link # to the commit id in your tree, so you probably want to set |