git-extras
git-extras copied to clipboard
feature request: git summary --line by file extension
currently, git summary counts all files. Sometimes large files leak into the repo and I would like to filter by file extension, e.g. .py
@chanansh Doesn't git summary --line *.py give you the expected result? If not, please elaborate.
There are some interesting questions.
-
what is the result of the
git summary --linewith a pattern like*.py? Following the example of agit summary --line, there are two keywords -linesandauthors. So if the*.pydoes it work and the result should appear in thelinesandauthorstogether. -
Is the pattern work with the
--lineonly? Maybe not, so it is not a good way to use a pattern like*.pydirectly. A parameter will be better.