Sourcetree git-svn: all commit messages show as (null)

If I select a commit in my git-svn repo using the log view then the commit message is shown as (null) in the detail view containing the commit metadata info. This only happens in git-svn repos -- my regular git repos show the correct info.

This makes ST a lot less useful for me -- is there a place I can download the previous version until this is fixed?

EDIT: Ok, now I've downgraded to ST 1.3.1 but I *still* get (null) for the commit messages! This is the version I was using before and it used to work properly. I've checked 'git log' and the messages look fine there. I've tried removing and re-adding the bookmark for the repo.

2 answers

1 accepted

0 votes
Accepted answer

Everything's fine here with and 1.3.1, including git-svn repos. The only thing I can think of that would do that is commit text replacement settings, can you check Settings (top right of the repo window) > Advanced to see whether you have something set up there? I haven't seen that happen before though.

And yes to answer your question is still available here if you need it until we get to the bottom of this:

Ah, thanks! It looks like the upgrade process corrupted my custom commit text replacement. I had a complicated regex that turned a generic Jira project ref into a link (instead of requiring a new rule for each project prefix). After the upgrade it got turned into this:

Regex Pattern: \

Replace With:

Deleting that pattern fixed the issue.

Had the same issue and edited my replacements yesterday. That fixed it. *But* the fixed replacement is broken again after a SourceTree restart. I removed the replacement, that "helps" :/

You probably used a '#' character in the replacement text. This was a bug, it's been fixed in 1.3.2 which is available direct from the website now.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

202 views 3 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you