Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

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

Merged
merged 2 commits into from
Oct 13, 2017

Conversation

kuychaco
Copy link
Contributor

Fixes #1212

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
Copy link
Contributor

Ben3eeE commented Oct 11, 2017

Copy link
Contributor

@BinaryMuse BinaryMuse left a comment

Choose a reason for hiding this comment

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

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

@smashwilson
Copy link
Contributor

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

@kuychaco kuychaco merged commit 203828e into master Oct 13, 2017
@kuychaco kuychaco deleted the ku-unambiguize-HEAD-arg-to-git branch October 13, 2017 23:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants