Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Edit long commit message

Dirk Holtwick July 16, 2013

Hi, I'm using SourceTree on Mac and I love it!

I usually have quite long commit messages to write, but the commit message text field seems to be limited to have 6 lines visible i.e. I need to scoll a lot ;) Would it be possible to add a vertical splitter to resize it or to open an external editor?

Would also be cool to have some optional functionality to hard wrap or reflow text passages that are longer than the 72 characters width indicator.

These are just "nice to have" considerations ;)

5 answers

1 accepted

0 votes
Answer accepted
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2013

I was worried you'd say that ;)

Yes, auto-formatting the message for many would be nice, especially if you're committing for patches that are being submitted to more stringent repositories like Git or Linux.

I've submitted it on JIRA here: https://jira.atlassian.com/browse/SRCTREE-1711

Cheers!

0 votes
Dirk Holtwick July 16, 2013

Awesome! That solves my problems. Thanks.

My use case: On Gerrit I'm constrained to use hard wrap, because otherwise the web page doesn't look great. It's like in this ticket I found via Google https://code.google.com/p/gerrit/issues/detail?id=1741

0 votes
Dirk Holtwick July 16, 2013

Awesome! That solves my problems. Thanks.

My use case: On Gerrit I'm constrained to use hard wrap, because otherwise the web page doesn't look great. It's like in this ticket I found via Google https://code.google.com/p/gerrit/issues/detail?id=1741

0 votes
Dirk Holtwick July 16, 2013

Thanks for the quick reply! Tickets look promissing.

If the resizing of the text area would be flexible and remembered after app relaunch, that would be great.

The column guide is already very useful, but I was thinking of something like this feature in TextMate http://projects.serenity.de/textmate/tutorials/basics/#formatting Once you insert new text in the middle of a paragraph you're still doing the whole reformatting by hand otherwise ;)

0 votes
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2013

Hi Dirk,

There's already an open issue scheduled for the next version of SourceTree to resize the text field against the diff view here: https://jira.atlassian.com/browse/SRCTREE-1452

There's also an open issue to show the character count when showing the column marker which should aid in showing you how many characters are per line here: https://jira.atlassian.com/browse/SRCTREE-1650

Hope that helps :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events