Skip to content

Conversation

@wking
Copy link
Contributor

@wking wking commented May 19, 2016

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
Member

LGTM

3 similar comments
@hqhq
Copy link

hqhq commented May 20, 2016

LGTM

@mrunalp
Copy link

mrunalp commented May 23, 2016

LGTM

@vbatts
Copy link
Member

vbatts commented May 23, 2016

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