• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Regular git vs. "Apple Git" - How and Why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regular git vs. "Apple Git" - How and Why?


  • Subject: Re: Regular git vs. "Apple Git" - How and Why?
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 16 Nov 2015 15:21:06 -0600

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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Regular git vs. "Apple Git" - How and Why?
      • From: Jerry Krinock <email@hidden>
References: 
 >Regular git vs. "Apple Git" - How and Why? (From: Jerry Krinock <email@hidden>)
 >Re: Regular git vs. "Apple Git" - How and Why? (From: Jens Alfke <email@hidden>)
 >Re: Regular git vs. "Apple Git" - How and Why? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Regular git vs. "Apple Git" - How and Why?
  • Next by Date: Conditional breakpoint on "NSThread.isMainThread() == false"?
  • Previous by thread: Re: Regular git vs. "Apple Git" - How and Why?
  • Next by thread: Re: Regular git vs. "Apple Git" - How and Why?
  • Index(es):
    • Date
    • Thread