proj/gagit:main commit in: /

Michał Górny <[email protected]> Wed, 05 Aug 2026 14:52:11 +0000 (UTC)
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785941507.8b4cc401941725fcd90fa4bec3d190e28beaae3c.mgorny@gentoo>
commit:     8b4cc401941725fcd90fa4bec3d190e28beaae3c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  5 14:51:47 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug  5 14:51:47 2026 +0000
URL:        https://gitweb.gentoo.org/proj/gagit.git/commit/?id=8b4cc401

Fix missing branch parameter to template getter

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 gagit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gagit b/gagit
index 268213d..036b6ed 100755
--- a/gagit
+++ b/gagit
@@ -227,7 +227,7 @@ main() {
 	fi
 	echo "Target branch: ${target}" >&2
 
-	local template=$(get_template)
+	local template=$(get_template "${target}")
 
 	local commits=()
 	mapfile commits < <(git log --format='# %h %s' "${target}..${branch}")