mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-12 02:03:56 +03:00
simplified commit preview
This commit is contained in:
parent
9fd508fd34
commit
bc91bbab98
@ -236,7 +236,8 @@ func object_type(id):
|
||||
return git("cat-file -t "+id)
|
||||
|
||||
func object_content(id):
|
||||
return git("cat-file -p "+id)
|
||||
#return git("cat-file -p "+id)
|
||||
return git("show -s --format=%B "+id).strip_edges()
|
||||
|
||||
func tree_children(id):
|
||||
var children = git("cat-file -p "+id, true)
|
||||
|
Loading…
Reference in New Issue
Block a user