On Mon, Nov 16, 2015, at 02:37 PM, Jerry Krinock wrote:
> Thank you all for the help.  Removing old git installations, and symlinks
> to them, fixes the problem of Xcode’s Source Control getting stuck in
> “Scanning for working copies…”.

That's intriguing. Could you please file a Radar? It seems wise to have
the git in Xcode impervious to gits elsewhere on the system.

> 
> 
> OF ACADEMIC INTEREST…
> 
> I’m not sure if git is installed with OS X or Xcode.  There seems to be a
> git in /usr/bin/ which is protected by System Integrity Protection (SIP).

It's installed by OS X, but it's essentially a copy of xcrun. If you run
git on a machine without Xcode installed, it will tell you to install
Xcode, run xcode-select, or set the $DEVELOPER_DIR environment variable.

--Kyle Sluder

> 
> Air2:bin jk$ whereis git
> /usr/bin/git
> Air2:~ jk$ cd /usr/bin/
> Air2:bin jk$ ls -al@Oww | grep git
> -rwxr-xr-x     1 root   wheel  restricted,compressed    18176 Nov  8
> 21:15 git
> -rwxr-xr-x     1 root   wheel  restricted,compressed    18208 Nov  8
> 21:14 git-cvsserver
> -rwxr-xr-x     1 root   wheel  restricted,compressed    18208 Nov  8
> 21:15 git-receive-pack
> -rwxr-xr-x     1 root   wheel  restricted,compressed    18192 Nov  8
> 21:16 git-shell
> -rwxr-xr-x     1 root   wheel  restricted,compressed    18208 Nov  8
> 21:15 git-upload-archive
> -rwxr-xr-x     1 root   wheel  restricted,compressed    18208 Nov  8
> 21:15 git-upload-pack
> 
> When I updated this morning from Xcode 7.1 (Beta) to Xcode 7.1.1 (App
> Store), those file sizes and modification times did not change.  However,
> the response from
>     git version
> *and*
>     /usr/bin/git version
> *both* changed from 
>     git version 2.4.7 (Apple Git-59)
> to 
>     git version 2.4.9 (Apple Git-60)
> 
> But I don’t need to know the answer to this.
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/kyle%40ksluder.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to