feat: Show shorter commit hash & show commit message

This commit is contained in:
Dendy 2025-03-31 08:26:48 +02:00
parent 4525706b23
commit a549ccd068
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ final class MainController extends AbstractController
'path' => $path,
'contents' => $contents,
'tree' => $tree,
'version' => new Process(['git', '-C', $gitDir, 'rev-parse', 'HEAD'])->mustRun()->getOutput(),
'version' => new Process(['git', '-C', $gitDir, 'log', '-1', '--oneline'])->mustRun()->getOutput(),
]);
}
}