diff options
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. |