Xcode does not recognize current branch

Originator:scheisssamsung1
Number:rdar://27698905 Date Originated:04-Aug-2016
Status:Open Resolved:-
Product:Xcode Product Version:8.0 beta 4
Classification:- Reproducible:yes
 
Summary:
My workspace has 3 different projects on 3 Git-Repositories. When I load my project, all working copies are recognized, but some of them don't show the current branch. (see Screenshot1) Additionally, I can't switch the branch of these working copies. (see Screenshot2)

I have a workaround so far, but it's really annoying and doesn't work when I have uncommitted changes. (see additional notes)

Steps to Reproduce:
1. Open Xcode and load the workspace with multiple projects on different Git-Repos
2. Click "Source Control"
3. Some branches may not show the current branch

Expected Results:
The current branch should always be detected and shown in the "Source Control" menu for all working copies in the workspace.

Actual Results:
Some working copies do not show the current branch

Version:
macOS Sierra 10.12 Beta (16A254g)
Xcode 8.0 beta 4 (8S188o)

Notes:
Workaround:
1. Press CMD + ALT + X to pull the repos
2. wait until the dialog to select branches appeared and loaded the available branches (Screenshot3)
3. cancel or push. Doesn't matter

Does not work, if a working copy has uncommitted changes

Configuration:
MacBook Pro (Retina, 13-inch, Mid 2014)
Xcode workspace with 3 projects. Each project is on an own Git-Repository

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!