"Robert P. J. Day" <rpj...@crashcourse.ca> writes:

>   perusing "man git-clone" and, from the first part of the OPTIONS
> section, it's not immediately obvious what the difference is between
> using --no-local versus --no-hardlinks when cloning a local repo. both
> seem to suggest that the local git transport mechanism will be used,
> so what is the difference?

The "local" optimization is designed to use hardlinks to share as
many object and pack files as possible to avoid copies.  You can
optionally disable the use of hardlinks to always copy, without
disabling the "local" optimization.

If you say --no-local, --[no-]hardlinks has no relevance.

Reply via email to