Set the short length tag fix to 8 characters

master
WolverinDEV 2021-05-26 13:31:06 +02:00
parent b7ca101ff8
commit 02e773d11e
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ git_version() {
if [[ -z "$response" || "${ignore_dirty_worktree:=0}" -eq 1 || 1 -eq 1 ]]; then if [[ -z "$response" || "${ignore_dirty_worktree:=0}" -eq 1 || 1 -eq 1 ]]; then
case "$1" in case "$1" in
"short-tag" | "name" | "file-name") "short-tag" | "name" | "file-name")
git rev-parse --short HEAD git rev-parse --short=8 HEAD
;; ;;
"long-tag") "long-tag")
git rev-parse HEAD git rev-parse HEAD