git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Initial git clone behaviour
@ 2016-01-06 22:26 Eric Curtin
  2016-01-06 23:14 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Curtin @ 2016-01-06 22:26 UTC (permalink / raw)
  To: git

Hi Guys,

I am not a git developer or a git expert but just a change I would love
to see.

When I clone a really large repository (like the linux kernel for
example) initially on a brand new machine, it can take quite a while
before I can start working with the code.

Often I do a standard git clone:

git clone (name of repo)

Followed by a depth=1 clone in parallel, so I can get building and
working with the code asap:

git clone --depth=1 (name of repo)

Could we change the default behavior of git so that we initially get
all the current files quickly so that we can start working them and
then getting the rest of the data? At least a user could get to work
quicker this way. Any disadvantages of this approach? Maybe I am not
the first to suggest something like this.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-06 23:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-06 22:26 Initial git clone behaviour Eric Curtin
2016-01-06 23:14 ` Junio C Hamano
2016-01-06 23:24   ` Eric Curtin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).