Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up'git log --oneline' behaviour is different in GitPython as compared to the same command in Git #1047
Labels
Comments
GitPython will connect to the standard output channel of the git log process and read from there. By the looks of it, As git itself uses a pager, it is very able to produce the desired output nonetheless, and I am sure it's just one flag or I am closing this issue there is it nothing that GitPython to improve the situation. Please feel free to comment for follow ups though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, when I execute 'git log --oneline' I get -
and 'git log --oneline --nowalk --tags' gives me -
The above output is what is desired.
But when I run it from python script I get the result without tags -
I wonder if the GitPython is using git binary and interacting it with via shell?
Is there any way I can get the same output as that from shell?