Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-1068

Better formatting for commit messages

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      I like beautiful commit messages. Most people using git like it too, and what consists a beautiful message has been nicely summarized by Tim Pope here:

      http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html

      And while this is about git, mercurial repositories would probably benefit from the same conventions.

      So, I'd love if SourceTree could help me writing those messages. For example, it could render the first line of the message in bold, and somehow signal if I go over 50 characters for that line. For the rest of the commit message, it should automatically insert line breaks at 72 characters, inserting spaces for indentations when it looks like I'm typing a bullet list.

      Another option would be embedding Emacs as the commit message editor (I'm half joking about this).

            Unassigned Unassigned
            a4b0c505dd4c Marcus Brito
            Votes:
            69 Vote for this issue
            Watchers:
            42 Start watching this issue

              Created:
              Updated: