git-extras icon indicating copy to clipboard operation
git-extras copied to clipboard

feature request: git summary --line by file extension

Open chanansh opened this issue 4 years ago • 2 comments

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 avatar Sep 05 '21 18:09 chanansh

@chanansh Doesn't git summary --line *.py give you the expected result? If not, please elaborate.

tfendin avatar Mar 06 '22 19:03 tfendin

There are some interesting questions.

  1. what is the result of the git summary --line with a pattern like *.py? Following the example of a git summary --line, there are two keywords - lines and authors. So if the *.py does it work and the result should appear in the lines and authors together.

  2. Is the pattern work with the --line only? Maybe not, so it is not a good way to use a pattern like *.py directly. A parameter will be better.

vanpipy avatar Apr 23 '22 08:04 vanpipy