Skip to content

rn20: Changing the default for "core.abbrev"? #195

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 1 commit into from
Oct 19, 2016

Conversation

jnareb
Copy link
Member

@jnareb jnareb commented Oct 18, 2016

Add discussion about changing the default abbrev length and dealing with abbreviated SHA-1s.

I'm not sure if I put it in the correct place; though as it is in 'next' now, perhaps "Reviews" and not "General" subsection of "Discussions" is a good choice. Note also that URLs to commits might need cleanups.

Should I have added a byline?

Add discussion about changing the default abbrev length and dealing with
abbreviated SHA-1s.
@chriscool
Copy link
Collaborator

Great, thanks @jnareb !

Linus Torvalds asked for increasing the default value for number of
characters in SHA-1 abbreviations. The `default_abbrev = 7` was
reasonable at early days of Git, but the project of size of the
Linux kernel needs `git config --global core.abbrev 12`; while Git
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would say "a project of the size of the Linux Kernel" instead but I am not a native speaker so I might be wrong.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also I wonder if the semicolon could be replaced by a full stop.

Copy link
Member

Choose a reason for hiding this comment

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

Yes using "a" here is correct (and probably s/at early days/in the early days/).

I also agree that a period is preferable to a semi-colon here.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks @peff ! I will make those changes.

@jnareb jnareb deleted the rn20-default_abbrev branch October 19, 2016 14:56
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.

3 participants