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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,654
Community Members
 
Community Events
176
Community Groups

How can I configure SourceTree's internal diff tool to correctly show file changes between renames?

Hello,

I wanted to ask if there was a way to configure SourceTree so that it correctly displays the differences made to a file, even once it's been renamed between commits.

For example, if I have a repository and a file named "A1310R1_M05.txt" at the root, and I use the command "git mv A1310R1_M05.txt A1310R1_M06.txt" to rename the file, I can no longer use SourceTree's internal diff view to see what changes were made to it between commits when clicking on it in the file list.

Instead, every line in the diff view ends up highlighted green with a '+' symbol to the left of it, as though none of those lines ever existed in the original file before the rename took place.

Is there some way around this without having to open up the A1310R1_M05.txt file in one of the commits, and A1310R1_M06.txt from another commit side-by-side in another diff application?

Thank you,
Jonathan Smith

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events