Closed NextAlone closed 2 years ago
Could you include a screenshot and explain why you think this should be added?
If one commit is huge, an overview on the top may be helpful to quickly get changed files.
Did you test this on smaller width screens? I see --stat has a width parameter and i wonder if we should limit it
Did you test this on smaller width screens? I see --stat has a width parameter and i wonder if we should limit it
It works good, i think width is not needed
Oh wait how come you also added --oneline
?
Oh I see, is it because you are running two git show commands, one on top of the other, and the first one is just for the diff so you want a short summary of the commit?
Ok I suspect there's a way to run git show to show both the stats and the diff itself. I'll look into it if you'd like.
Oh I see, is it because you are running two git show commands, one on top of the other, and the first one is just for the diff so you want a short summary of the commit?
Yes, you are right.
Ok I suspect there's a way to run git show to show both the stats and the diff itself. I'll look into it if you'd like.
I tried looking for it, but couldn't find it. It would be nice if there was a way to show them together.
git show HEAD --stat --patch seems to work. Can you try it out?
git show HEAD --stat --patch seems to work. Can you try it out?
It works, and --patch-with-stat the same.
Update: I just push it here.
Thank you @NextAlone for this great contribution!
Thank you @NextAlone for this great contribution!
And thanks for your work too.
Could you include a screenshot and explain why you think this should be added?