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.
This commit is contained in:
Ayala Shachar
2019-09-24 10:22:48 +03:00
committed by Roey Darwish Dror
parent 877e1941d3
commit 3520d687c3

View File

@@ -129,6 +129,7 @@ impl Git {
Command::new(&cloned_git)
.current_dir(&repo)
.args(&[
"--no-pager",
"log",
"--no-decorate",
"--oneline",