From d77b3df240768c6d2ede4b99dbe09fb661327ff8 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Fri, 17 Apr 2020 15:03:40 -0400 Subject: 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 Signed-off-by: Konstantin Ryabitsev --- thanks-am-template.example | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'thanks-am-template.example') 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 -- cgit v1.2.3