aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index b4662dd..d9ab103 100755
--- a/kiss
+++ b/kiss
@@ -231,7 +231,7 @@ pkg_extract() {
git+*\#*)
log "Checking out ${src##*#}"
- git reset --hard "${src##*#}" ||
+ git -c advice.detachedHead=false checkout "${src##*#}" ||
die "Commit hash ${src##*#} doesn't exist"
;;
@@ -1308,7 +1308,7 @@ args() {
l|list) pkg_list "$@" ;;
u|update) pkg_updates ;;
s|search) for pkg; do pkg_find "$pkg" all; done ;;
- v|version) log kiss 1.5.2 ;;
+ v|version) log kiss 1.5.3 ;;
h|help|-h|--help|'')
log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]'