Blame in SourceTree for Windows

Hi!

I have a problem with SourceTree for Windows:

When I use the command "Blame selected", all lines are in the state "Not committed yet" and no changes are shown.

I found out that the standard blame command blames the file in the working copy and as the setting "autocrlf" is "true", all lines are considered to be changed there.

Is there a possibility to change the behaviour of the git blame function to blame the currently selected branch?

Achim

1 answer

1 accepted

1 vote
Accepted answer

I've created a feature request for this: https://jira.atlassian.com/browse/SRCTREEWIN-470

If your file is showing as completely modified, and you already have autocrlf=true, then it means it was committed from a machine with an incorrect setting. You will want to normalise the line endings and re-commit it to stop it permanently showing as modified in future.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

831 views 3 2
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