SZW5SOJLAU437PAZJJ7TJX7STN57G5LTR3NGCC4AGOYN2JYXCEZQC
setopt localoptions NO_shwordsplit
local action branch base staged unstaged revision misc
local line
branch="(unknown)"
while read line; do
if [[ $line =~ "\* "* ]]; then
branch="${line#\* }"
break
fi
done < <(${vcs_comm[cmd]} channel)
while read line; do
if [[ "$line" =~ "State: "* ]]; then
revision="${line#State: }"
break
fi
done < <(${vcs_comm[cmd]} log --state --limit 1)
VCS_INFO_formats "${action}" "${branch}" "${base}" "${staged}" "${unstaged}" "${revision}" "${misc}"
setopt localoptions NO_shwordsplit
[[ "$1" == '--flavours' ]] && return 1
VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
vcs_comm[detect_need_file]=config
VCS_INFO_bydir_detect '.pijul'
return $?