Skip to content
This repository was archived by the owner on Feb 5, 2018. It is now read-only.

Commit 6aebb75

Browse files
bcoestevemao
authored andcommitted
feat: remove commit length restriction
This tool should not limit the length. A commit hook should. Closes #12
1 parent 72f8b12 commit 6aebb75

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

convention.md

-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ A commit message consists of a **header**, **body** and **footer**. The header
4444

4545
The **header** is mandatory and the **scope** of the header is optional.
4646

47-
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier
48-
to read on GitHub as well as in various git tools.
49-
5047
### Revert
5148

5249
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit. In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ var writerOpts = {
5656
}
5757

5858
if (typeof commit.subject === 'string') {
59-
commit.subject = commit.subject.substring(0, 80);
59+
commit.subject = commit.subject;
6060
}
6161

6262
return commit;

0 commit comments

Comments
 (0)