forked from kiss-community/kiss
kiss: remove left over subshell
This commit is contained in:
parent
5cfbe0277d
commit
1787cbe5b0
18
kiss
18
kiss
@ -245,17 +245,15 @@ pkg_extract() {
|
||||
git+*\#*)
|
||||
log "Checking out ${src##*#}"
|
||||
|
||||
(
|
||||
# A commit was requested, unshallow the repository.
|
||||
# This will convert it to a regular repository with
|
||||
# full history.
|
||||
git fetch --unshallow
|
||||
# A commit was requested, unshallow the repository.
|
||||
# This will convert it to a regular repository with
|
||||
# full history.
|
||||
git fetch --unshallow
|
||||
|
||||
# Try to checkout the repository. If we fail here,
|
||||
# the requested commit doesn't exist.
|
||||
git -c advice.detachedHead=false checkout "${src##*#}" ||
|
||||
die "Commit hash ${src##*#} doesn't exist"
|
||||
)
|
||||
# Try to checkout the repository. If we fail here,
|
||||
# the requested commit doesn't exist.
|
||||
git -c advice.detachedHead=false checkout "${src##*#}" ||
|
||||
die "Commit hash ${src##*#} doesn't exist"
|
||||
;;
|
||||
|
||||
# Git repository, comment or blank line.
|
||||
|
Loading…
Reference in New Issue
Block a user