simplified commit preview

This commit is contained in:
bleeptrack 2021-01-12 11:38:18 +01:00
parent 9fd508fd34
commit bc91bbab98

View file

@ -236,7 +236,8 @@ func object_type(id):
return git("cat-file -t "+id) return git("cat-file -t "+id)
func object_content(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): func tree_children(id):
var children = git("cat-file -p "+id, true) var children = git("cat-file -p "+id, true)