From bc91bbab98f35eeab07efaa9d1894a3f204735ce Mon Sep 17 00:00:00 2001 From: bleeptrack Date: Tue, 12 Jan 2021 11:38:18 +0100 Subject: [PATCH] simplified commit preview --- scenes/repository.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scenes/repository.gd b/scenes/repository.gd index e1b4f1b..ad052e0 100644 --- a/scenes/repository.gd +++ b/scenes/repository.gd @@ -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)