We've started a new practice of naming our developer branches in git with <inititals>/<branch_name>. So I might have CC/adding_feature_X. The nice thing is this will group all of my branches in a folder and not pollute the branch space for other developers. They just close the reveal arrow and all of my branches are hidden behind a folder named CC. This promotes the good practice of pushing branches up to the remote to avoid hard drive failure.
Since we've started doing this I've noticed that I'm often not viewing the branch I think I'm viewing. SourceTree doesn't actually switch branches, but it is as if I clicked on that other branch to view it's graph view. This is really annoying.
I think I've tracked it down to the following:
If the CC folder is expanded to show my adding feature branch but I highlight master after a few seconds it hops to highlighting development. I think if I do a Refresh it will always jump after that so it might be that it just jumps when SourceTree polls and refreshes in the background. However, if I close the folder it doesn't seem to hop around.
Does anyone else see this?
We really like tidying up our branches and grouping them this way. I'm not sure if anyone has drawbacks for this kind of practice but this behavior is really annoying when you're trying to analyze the commit graph and comments.
There was a bug up to 1.3.2 where depending on the timing of the refresh between the log view content and the sidebar content, the last sidebar selection could end up overriding the log view selection, if you'd changed it. This has been fixed in 1.3.3, which is available now for people who download direct from http://sourcetreeapp.com (the Mac App Store update is waiting for Apple to review it).
I've been running 1.3.3 since about 15 minutes after I heard an update was out. It seems like it started about that long ago now that I think about it but that is also about the same time we started grouping branches. I've asked another colleague of mine to look for the behavior as well but it seems now I can reproduce it everytime I have the folder revealing the branch and do a refresh.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
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!
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