diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-12-05 20:02:41 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-10 16:14:17 -0800 |
commit | 79d3a236c551ad59719a6835bee03a1446296e65 (patch) | |
tree | a23554e47b3d83df429dda8e9fbe7c33a1b8cb58 /t/t3003-ls-files-exclude.sh | |
parent | fetch: support fetching from a shallow repository (diff) | |
download | tgif-79d3a236c551ad59719a6835bee03a1446296e65.tar.xz |
upload-pack: make sure deepening preserves shallow roots
When "fetch --depth=N" where N exceeds the longest chain of history in
the source repo, usually we just send an "unshallow" line to the
client so full history is obtained.
When the source repo is shallow we need to make sure to "unshallow"
the current shallow point _and_ "shallow" again when the commit
reaches its shallow bottom in the source repo.
This should fix both cases: large <N> and --unshallow.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3003-ls-files-exclude.sh')
0 files changed, 0 insertions, 0 deletions