Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: git summary --line by file extension #938

Open
chanansh opened this issue Sep 5, 2021 · 2 comments
Open

feature request: git summary --line by file extension #938

chanansh opened this issue Sep 5, 2021 · 2 comments

Comments

@chanansh
Copy link

chanansh commented Sep 5, 2021

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

@tfendin
Copy link
Contributor

tfendin commented Mar 6, 2022

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

@vanpipy
Copy link
Collaborator

vanpipy commented Apr 23, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants