Skip to content

added input check and usage to git-find-large-files #363

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

Merged
merged 3 commits into from
Aug 24, 2020
Merged

Conversation

jefeish
Copy link
Contributor

@jefeish jefeish commented Aug 20, 2020

I ran the git-find-large-files command with a -h 😁 and ended up with ...

./git-find-large-files: line 67: [: -h: integer expression expected
./git-find-large-files: line 67: [: -h: integer expression expected
./git-find-large-files: line 67: [: -h: integer expression expected
...

The added check also prevents negative integers.

@jefeish jefeish requested a review from larsxschneider August 20, 2020 17:25
@jefeish jefeish changed the title added input _check_ and _usage_ to git-find-large-files added input check and usage to git-find-large-files Aug 20, 2020
Copy link
Member

@larsxschneider larsxschneider left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you 😊

jefeish and others added 2 commits August 24, 2020 10:13
Co-authored-by: Lars Schneider <larsxschneider@github.com>
the 'space' was intentional, to set the statement 'apart' :) ... anyhow removing it

Co-authored-by: Lars Schneider <larsxschneider@github.com>
@jefeish jefeish merged commit 59766bc into master Aug 24, 2020
@stoe stoe deleted the jefeish/patch-1 branch June 7, 2022 09:13
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.

4 participants