Set the short length tag fix to 8 characters
This commit is contained in:
parent
b7ca101ff8
commit
02e773d11e
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ git_version() {
|
|||
if [[ -z "$response" || "${ignore_dirty_worktree:=0}" -eq 1 || 1 -eq 1 ]]; then
|
||||
case "$1" in
|
||||
"short-tag" | "name" | "file-name")
|
||||
git rev-parse --short HEAD
|
||||
git rev-parse --short=8 HEAD
|
||||
;;
|
||||
"long-tag")
|
||||
git rev-parse HEAD
|
||||
|
|
Loading…
Add table
Reference in a new issue