From 3520d687c34e8bc36174992fe14093bc3bb69b57 Mon Sep 17 00:00:00 2001 From: Ayala Shachar Date: Tue, 24 Sep 2019 10:22:48 +0300 Subject: [PATCH] Use '--no-pager' flag for git-log (#228) When there are a log of changes in the git step, topgrade might be "stack" in pager (e.g. less) until the user will manually exit it. Using '--no-pager' flag allow all the changes to be printed to screen regardless of the amount of commits or the user's git configuration. --- src/steps/git.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/steps/git.rs b/src/steps/git.rs index 9698684c..ca2b71a4 100644 --- a/src/steps/git.rs +++ b/src/steps/git.rs @@ -129,6 +129,7 @@ impl Git { Command::new(&cloned_git) .current_dir(&repo) .args(&[ + "--no-pager", "log", "--no-decorate", "--oneline",