commit 5bfc5cb0ae34a26f60c71ac296172c3c12d39db2
parent b1fe5c876ca131afcf169e7da3564076f0b80ce6
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Wed, 12 Feb 2020 09:27:48 +0200
kiss: Allow #arg to be a branch name
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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]'