author | Junio C Hamano <junkio@cox.net> | |
Thu, 15 Dec 2005 05:25:22 +0000 (21:25 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 15 Dec 2005 05:25:22 +0000 (21:25 -0800) | ||
commit | 31ec6abf887ec95642cbe82fe61076e975494ab0 | |
tree | b4568f377cecd823a5eeea8eadd1257ed193d908 | tree | snapshot |
parent | 294c695d8cfbcf95a5c33fc6ba386f496964defb | commit | diff |
clone-pack: make it usable for partial branch cloning.
clone-pack had some logic to accept subset of remote refs from
the command line and clone from there. However, it was never
used in practice and its problems were not found out so far.
This commit changes the command to output the object names of
refs to the standard output instead of making a clone of the
remote repository when explicit <head> parameters are given; the
output format is the same as fetch-pack.
The traditional behaviour of cloning the whole repository by
giving no explicit <head> parameters stays the same.
Signed-off-by: Junio C Hamano <junkio@cox.net>
clone-pack had some logic to accept subset of remote refs from
the command line and clone from there. However, it was never
used in practice and its problems were not found out so far.
This commit changes the command to output the object names of
refs to the standard output instead of making a clone of the
remote repository when explicit <head> parameters are given; the
output format is the same as fetch-pack.
The traditional behaviour of cloning the whole repository by
giving no explicit <head> parameters stays the same.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-clone-pack.txt | diff | blob | history | |
clone-pack.c | diff | blob | history |