Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFC/PATCH] clone: make 'git clone -c remote.origin.fetch=<refspec>' work

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:08:39

Jeff King [off-list ref] writes:
IMHO, we should stick to the conceptual model that "git clone" is:

  git init
  git config ... ;# set up remote, etc
  git fetch
  git checkout ;# obviously not for --bare

The implementation has to diverge from that to do certain optimizations,
but absent any good reason not to, I think we should aim for behaving
"as if" those commands were run.
Yup, I 100% agree that we should aim for matching that mental model.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help