From 892c2b0d5b89d05a07fe91195a2e425e6a1840b3 Mon Sep 17 00:00:00 2001 From: anon Date: Sun, 17 Aug 2025 15:13:33 +0200 Subject: [PATCH] bug fix --- git-construct.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git-construct.pl b/git-construct.pl index 5e97088..4024ef1 100755 --- a/git-construct.pl +++ b/git-construct.pl @@ -45,7 +45,8 @@ sub new_repository { }; } - my $owner = $repo->run('log', '--reverse', '--pretty=format:%an'); + # first commiter as a fallback + my $owner = ($repo->run('log', '--reverse', '--pretty=format:%an'))[0]; return { name => $name, -- 2.39.5