Git Product home page Git Product logo

Comments (7)

thorade avatar thorade commented on May 8, 2024 1

There is now also #84

from unity.

thorade avatar thorade commented on May 8, 2024

Sourcetree nicely supports switching between embedded/portable git and system git, maybe you could handle that in a similar fashion?

Would be nice to have some check for system git availability.
On macOS, executing git --version in a terminal, will either print the version or trigger installation of the Xcode command line tools (about 120 MB, much smaller than full Xcode).

from unity.

StanleyGoldman avatar StanleyGoldman commented on May 8, 2024

Hi @thorade I was talking about this with some people.
We were wondering what are some of your motivations to want to be able to switch to a system git?

from unity.

shana avatar shana commented on May 8, 2024

@thorade We bundle git and lfs because we want to make sure you have the latest versions. xcode does not install lfs nor does it install the latest git, so on macOS homebrew is preferred, it's always up to date. You're free to change the git path in the settings tab to whatever you want, if you want to run your own system version.

Right now we're not bundling git on the mac (because of a bug in the unzipping code) so we do probe the system for existing git installations.

To really trust the system git though we need version checks - letting an older git lfs overwrite hooks on a repo created with a more recent lfs can cause problems, same if we pick up a git without accompanying git lfs (that will definitely screw things up)

from unity.

thorade avatar thorade commented on May 8, 2024

Sure, it was just a vague feeling that I would prefer to use the identical git with identical settings when working from Unity, the command line or from some git GUI. But I also see the benefits of bundling everything. And, as you said, I can change the path after installation.

from unity.

StanleyGoldman avatar StanleyGoldman commented on May 8, 2024

You raise a good point and yea @shana reminds me that you already have the ability to choose.
But we need to be able to verify that what you choose is okay to use. I opened #61.

from unity.

StanleyGoldman avatar StanleyGoldman commented on May 8, 2024

#189 provides a working command line for mac

from unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.