Skip to content

CONTRIBUTING: Don't specify a 50-char limit#10

Merged
crosbymichael merged 1 commit into
opencontainers:masterfrom
wking:no-specific-commit-summary-limit
May 23, 2016
Merged

CONTRIBUTING: Don't specify a 50-char limit#10
crosbymichael merged 1 commit into
opencontainers:masterfrom
wking:no-specific-commit-summary-limit

Conversation

@wking

@wking wking commented May 19, 2016

Copy link
Copy Markdown
Contributor

Folks have been dragging this around from the soft limit in
git-commit(1) and git.git's Documentation/SubmittingPatches without
believing it. Looking at the git.git history through v2.3.4 (git log
--no-merges --format=%s v2.3.4), we have 29853 commits, with 56% ≤ 50
chars and 94% ≤ 70 chars. Projects that want limits should enforce
them with CI tests (e.g. runtime-spec uses git-validation, which has
a soft limit at 72 and a hard limit at 90).

See also discussion here.

Folks have been dragging this around from the soft limit in
git-commit(1) and git.git's Documentation/SubmittingPatches without
believing it.  Looking at the git.git history through v2.3.4 (git log
--no-merges --format=%s v2.3.4), we have 29853 commits, with 56% ≤ 50
chars and 94% ≤ 70 chars.  Projects that want limits should enforce
them with CI tests (e.g. runtime-spec uses git-validation, which has a
soft limit at 72 and a hard limit at 90 [1]).

[1]: https://github.com/vbatts/git-validation/blob/be3aee994370184fd98e455abfe0948d6f45f793/rules/shortsubject/shortsubject.go#L24-L35

Signed-off-by: W. Trevor King <wking@tremily.us>
@crosbymichael

Copy link
Copy Markdown
Member

LGTM

3 similar comments
@hqhq

hqhq commented May 20, 2016

Copy link
Copy Markdown

LGTM

@mrunalp

mrunalp commented May 23, 2016

Copy link
Copy Markdown

LGTM

@vbatts

vbatts commented May 23, 2016

Copy link
Copy Markdown
Member

LGTM

@crosbymichael crosbymichael merged commit 8afbcde into opencontainers:master May 23, 2016
@wking wking deleted the no-specific-commit-summary-limit branch May 23, 2016 21: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.

5 participants