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

Make 'HEAD' argument unambiguous for 'git log' command #1213

Merged
merged 2 commits into from Oct 13, 2017

Conversation

Projects
None yet
4 participants
@kuychaco
Member

kuychaco commented Oct 11, 2017

Fixes #1212

kuychaco added some commits Oct 11, 2017

Make 'HEAD' argument unambiguous for 'git log' command
If there is a file in the repo called 'HEAD' then git throws an error
since it can't tell if HEAD is being provided as a revision or filename
@Ben3eeE

This comment has been minimized.

Show comment
Hide comment
@Ben3eeE

Ben3eeE Oct 11, 2017

Member

⚡️

Member

Ben3eeE commented Oct 11, 2017

⚡️

@BinaryMuse

Thanks for tackling this! Idly, I wonder if there are other places where ref names might be ambiguous with file names.

@smashwilson

This comment has been minimized.

Show comment
Hide comment
@smashwilson

smashwilson Oct 11, 2017

Member

@BinaryMuse, next you'll be telling me I shouldn't name my son ".gitignore".

Member

smashwilson commented Oct 11, 2017

@BinaryMuse, next you'll be telling me I shouldn't name my son ".gitignore".

@kuychaco kuychaco merged commit 203828e into master Oct 13, 2017

3 checks passed

ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@kuychaco kuychaco deleted the ku-unambiguize-HEAD-arg-to-git branch Oct 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment