From 1787cbe5b05267b97d2970ee83c89a19f5164794 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 19 Feb 2020 16:13:15 +0200 Subject: [PATCH] kiss: remove left over subshell --- kiss | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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 + # 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.