|
Lines 470-475
git-r3_fetch() {
Link Here
|
| 470 |
local fetch_command=( git fetch "${r}" ) |
470 |
local fetch_command=( git fetch "${r}" ) |
| 471 |
local clone_type=${EGIT_CLONE_TYPE} |
471 |
local clone_type=${EGIT_CLONE_TYPE} |
| 472 |
|
472 |
|
|
|
473 |
if [[ ${r} == https://* ]] && ! has_version 'dev-vcs/git[curl]'; then |
| 474 |
eerror "git-r3: fetching from https:// requested. In order to support https," |
| 475 |
eerror "dev-vcs/git needs to be built with USE=curl. Example solution:" |
| 476 |
eerror |
| 477 |
eerror " echo dev-vcs/git curl >> /etc/portage/package.use" |
| 478 |
eerror " emerge -1v dev-vcs/git" |
| 479 |
die "dev-vcs/git built with USE=curl required." |
| 480 |
fi |
| 481 |
|
| 473 |
if [[ ${r} == https://code.google.com/* ]]; then |
482 |
if [[ ${r} == https://code.google.com/* ]]; then |
| 474 |
# Google Code has special magic on top of git that: |
483 |
# Google Code has special magic on top of git that: |
| 475 |
# 1) can't handle shallow clones at all, |
484 |
# 1) can't handle shallow clones at all, |
| 476 |
- |
|
|