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:
committed by
Roey Darwish Dror
parent
877e1941d3
commit
3520d687c3
@@ -129,6 +129,7 @@ impl Git {
|
|||||||
Command::new(&cloned_git)
|
Command::new(&cloned_git)
|
||||||
.current_dir(&repo)
|
.current_dir(&repo)
|
||||||
.args(&[
|
.args(&[
|
||||||
|
"--no-pager",
|
||||||
"log",
|
"log",
|
||||||
"--no-decorate",
|
"--no-decorate",
|
||||||
"--oneline",
|
"--oneline",
|
||||||
|
|||||||
Reference in New Issue
Block a user