diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-12 07:27:47 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-12 07:27:47 +0000 |
commit | 84caf06a859a81b2dfd350d44ea3f11edfad4645 (patch) | |
tree | 59a88dd0291d7791a08cc041a921915434208076 | |
parent | 5800210c5bc8969167cc11b696e5ac5794ac4d17 (diff) | |
download | cpt-84caf06a859a81b2dfd350d44ea3f11edfad4645.tar.gz |
kiss: Allow #arg to be a branch name
FossilOrigin-Name: 2f191a4d7dedc09c6dc8c4880a668e451f2a7c3d72933d3454a18cde0ed481f0
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]' |