Skip to content

Conversation

@aronhoff
Copy link
Contributor

Currently only the first provided path is processed ($1). Therefore it gives incorrect results when multiple paths are given, or even for single bash globs such as *.py.

@aronhoff
Copy link
Contributor Author

Fixes #938

bin/git-summary Outdated
else
git ls-files | single_file
fi
git ls-files -- $@ | single_file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a comment to disable shellcheck warning?

@spacewander spacewander merged commit 960ec8d into tj:master Nov 22, 2022
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

Successfully merging this pull request may close these issues.

2 participants