aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranon2025-08-17 15:13:33 +0200
committeranon2025-08-17 15:13:33 +0200
commit892c2b0d5b89d05a07fe91195a2e425e6a1840b3 (patch)
treed1c7e9f063ac23516a12736b270cdc5f805d985c
parent517961df3d9e37ab48b1f6596ce9c2dc565f90ed (diff)
downloadgorillanest-892c2b0d5b89d05a07fe91195a2e425e6a1840b3.tar.xz
gorillanest-892c2b0d5b89d05a07fe91195a2e425e6a1840b3.tar.zst
bug fix
-rwxr-xr-xgit-construct.pl3
1 files changed, 2 insertions, 1 deletions
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,