commit | d4110a9726c7cd5cda35b7dd03dc8f85fe3dff0c | [log] [tgz] |
---|---|---|
author | Charles Bailey <charles@hashpling.org> | Tue Dec 11 06:47:31 2007 +0000 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Dec 12 10:59:22 2007 -0800 |
tree | 48ab88c64a89f0fb9ffb1f5217f917115d1f7fa0 | |
parent | 7c3c79629547195d13e325ea015ce9f89bf461b5 [diff] |
Fix clone not to ignore depth when performing a local clone When git-clone detects that it can perform a local clone it follows a path that silently ignores the depth parameter. Presumably if the user explicitly requests a shallow clone they have a reason to prefer a space efficient clone of just the recent history so bypass the local magic if the user specifies the depth parameter. Signed-off-by: Charles Bailey <charles@hashpling.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>