]> git.xolatile.top Git - gorillanest.git/commitdiff
bug fix
authoranon <anon@anon.anon>
Sun, 17 Aug 2025 13:13:33 +0000 (15:13 +0200)
committeranon <anon@anon.anon>
Sun, 17 Aug 2025 13:13:33 +0000 (15:13 +0200)
git-construct.pl

index 5e970883d6fb3bd8ac73ea521f86b23a2db1f38e..4024ef188b78e277f4dbe4af9a2c768a2f58eaf2 100755 (executable)
@@ -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,