diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-19 14:13:15 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-19 14:13:15 +0000 |
commit | 56a6186d072aba6d1ada877603644087c0bce216 (patch) | |
tree | a00a303466cb98dcde7a0020a7571cf220bbba14 /kiss | |
parent | 431522e3e711803c87d27ef935831541b0d6d91f (diff) | |
download | cpt-56a6186d072aba6d1ada877603644087c0bce216.tar.gz |
kiss: remove left over subshell
FossilOrigin-Name: af96535e6ab9491467fe91f85bfecde2360e930cc4fc2062d3efa0f6e96f97dc
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -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 - - # 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" - ) + # 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" ;; # Git repository, comment or blank line. |