feat: Show shorter commit hash & show commit message
This commit is contained in:
parent
4525706b23
commit
a549ccd068
|
@ -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(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue