Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: [PATCH] clone: ignore --depth when cloning locally (implicitly --local)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:17

Possibly related (same subject, not in this thread)

Johannes Schindelin [off-list ref] writes:
When cloning locally, we default to --local, as it makes the whole
operation fast and efficient.

As the most common intent of cloning with a --depth parameter is to
save space, and --local saves space more than --depth ever can,
warn the user and ignore the --depth parameter when cloning locally.

Should --depth be desired, the user can always force proper cloning
by using a file:// URL.

Signed-off-by: Johannes Schindelin <redacted>
Makes sense.  I'm inclined to apply this as a "fix" before 1.6.2, but I
cannot exactly say what we are fixing.  User's expectations?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help