diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-30 14:21:59 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-30 21:43:37 +0000 |
commit | a90cf551efc92184ab25da25b837296d1c4edc8a (patch) | |
tree | ec2559a3b204325721a02f013d5f6de796332701 /Src/zsh.h | |
parent | cd1cda9d57ff9f44d285bcd867721c4024500837 (diff) | |
download | zsh-a90cf551efc92184ab25da25b837296d1c4edc8a.tar.gz zsh-a90cf551efc92184ab25da25b837296d1c4edc8a.tar.xz zsh-a90cf551efc92184ab25da25b837296d1c4edc8a.zip |
36725: vcs_info git: Compute %b correctly when "git am"-ing onto detached heads.
Before this patch, $gitbranch would be set to empty, which caused VCS_INFO_get_data_git to early out with a failure status¹, consequently $vcs_info_msg_0_ would be empty. ¹ via the 'if [[ -z ]]' block around line 170.
Diffstat (limited to 'Src/zsh.h')
0 files changed, 0 insertions, 0 deletions