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,
 | 
					            'path'     => $path,
 | 
				
			||||||
            'contents' => $contents,
 | 
					            'contents' => $contents,
 | 
				
			||||||
            'tree'     => $tree,
 | 
					            '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