BreadicalMD
BreadicalMD

Reputation: 336

XCode Source Control status constantly refreshing

I'm running XCode 6.1 and working with a git repo. XCode's source control is turned on, as well as the options Refresh local status automatically and Refresh server status automatically and Add or remove files automatically.

Every 10 seconds or so, xcode shows every file's status as changing to unknown (a question mark). After a bit, they mostly all refresh and show the correct status. This keeps happening over and over.

Why is this happening and how can I stop it?

They look like so:

Question Marks

Question Marks

Normal

Normal status

Upvotes: 0

Views: 1491

Answers (2)

BreadicalMD
BreadicalMD

Reputation: 336

Finally I have found the cause of this problem, and thus the solution.

My git repo was checked out on my local machine inside of another git repo by accident. Doing this cause massive confusion to XCode, apparently. Doing a fresh checkout in a different folder fixed the problem.

Upvotes: 2

Rohit Sharma
Rohit Sharma

Reputation: 1

To resolve this you need to do the following:

Go to Source Control -> Refresh Status.

It should solve your problem.

Upvotes: -2

Related Questions