mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-20 20:33:11 +01:00
simplified commit preview
This commit is contained in:
parent
9fd508fd34
commit
bc91bbab98
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue