From 56a6186d072aba6d1ada877603644087c0bce216 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Wed, 19 Feb 2020 14:13:15 +0000 Subject: kiss: remove left over subshell FossilOrigin-Name: af96535e6ab9491467fe91f85bfecde2360e930cc4fc2062d3efa0f6e96f97dc --- kiss | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'kiss') diff --git a/kiss b/kiss index 1aed25d..a59a502 100755 --- a/kiss +++ b/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 - - # 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. -- cgit v1.2.3