From cc6c7b05e48046a2fd15a0c94d8ebe8d85d7e65b Mon Sep 17 00:00:00 2001 From: Jonathan Birge Date: Sun, 2 Apr 2017 15:48:05 -0400 Subject: [PATCH] gitlog.m hang fix #3 --- gitlog.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlog.m b/gitlog.m index 50e474c..a5375e5 100644 --- a/gitlog.m +++ b/gitlog.m @@ -4,7 +4,7 @@ % system git command. Useful only in that it lets you check git status % without having to go to a terminal. -[status, result] = systemwpath('git log --graph --oneline --decorate --all'); +[status, result] = systemwpath('git --no-pager log --graph --oneline --decorate --all | head -n 16'); if status == 0 fprintf('git log:\n') fprintf(result)