git log - Is there a git log argument to filter files only with large changes? -
given have 40 files in current git log --stat
, want show have 500 changes.
example output:
.../mymodule.java | 10 + .../mysecondmodule.java | 560 +++++++++ .../mythirdmodule.java | 5 +- .../myforthmodule.java | 12 +-
in case want filter out except mysecondmodule.java
. command run on repo haven't worked on in awhile idea of major work done since have hundreds thousands of changed files.
i don't see command line options doing that, @sashoalm says, can pipe output command (or write script) kind of filtering.
this kinda works showing files have > 100 lines changed:
git log --stat | egrep "(commit|author|date|^ |^$|\|.*[0-9][0-9][0-9])"
Comments
Post a Comment