delete .git directory to make xcode crash

Originator:mayoff
Number:rdar://32659593 Date Originated:08-Jun-2017 02:51 PM
Status:Open Resolved:
Product:Developer Tools Product Version:9.0 (13158.24) / Mac OS X 10.13 (17A264c)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
 

Steps to Reproduce:
1. Create a new Command Line Tool project named “test”. Tell Xcode to create a Git repository.
2. Open a Terminal window. (Leave the project open in Xcode.)
3. In the Terminal window, delete the project’s `.git` directory (e.g. `rm -rf ~/test/.git`).
4. Command-tab back to Xcode.
5. Xcode crashes immediately.


Expected Results:
😀

Actual Results:
💣💥😢

Version:
9.0 (13158.24) / Mac OS X 10.13 (17A264c)

Notes:

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!