Skip to content

Commit

Permalink
Pick #1162 for dev branch (#1168)
Browse files Browse the repository at this point in the history
Pick #1162 for `dev` branch

Co-authored-by: Luis Puerto <luiss.puerto@gmail.com>
  • Loading branch information
randy3k and Luis Puerto committed Sep 24, 2019
2 parents 41aeac9 + 6d19b44 commit 287dbae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion GitSavvy.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"pedantic_commit": true,
"pedantic_commit_ruler": true,
"pedantic_commit_first_line_length": 50,
"pedantic_commit_message_line_length": 80,
"pedantic_commit_message_line_length": 72,
"pedantic_commit_warning_length": 20,

/*
Expand Down
20 changes: 11 additions & 9 deletions core/commands/commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,27 @@


COMMIT_HELP_TEXT_EXTRA = """##
## You may also reference or close a GitHub issue with this commit. To do so,
## type `#` followed by the `tab` key. You will be shown a list of issues
## related to the current repo. You may also type `owner/repo#` plus the `tab`
## key to reference an issue in a different GitHub repo.
## You may also reference or close a GitHub issue with this commit.
## To do so, type `#` followed by the `tab` key. You will be shown a
## list of issues related to the current repo. You may also type
## `owner/repo#` plus the `tab` key to reference an issue in a
## different GitHub repo.
"""

COMMIT_HELP_TEXT_ALT = """
## To make a commit, type your commit message and close the window. To cancel
## the commit, delete the commit message and close the window. To sign off on
## the commit, press {key}-S.
## To make a commit, type your commit message and close the window.
## To cancel the commit, delete the commit message and close the window.
## To sign off on the commit, press {key}-S.
""".format(key=util.super_key) + COMMIT_HELP_TEXT_EXTRA


COMMIT_HELP_TEXT = """
## To make a commit, type your commit message and press {key}-ENTER. To cancel
## the commit, close the window. To sign off on the commit, press {key}-S.
## To make a commit, type your commit message and press {key}-ENTER.
## To cancel the commit, close the window. To sign off on the commit,
## press {key}-S.
""".format(key=util.super_key) + COMMIT_HELP_TEXT_EXTRA

COMMIT_SIGN_TEXT = """
Expand Down

0 comments on commit 287dbae

Please sign in to comment.