diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2018-12-09 19:41:19 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2018-12-13 15:28:00 +0000 |
commit | 23154e46e6864f35c1fc2e052c4ea14fb42014fb (patch) | |
tree | e3cad0085ea90d9f0f4345702fce0241bf73af1e /Functions/VCS_Info/VCS_INFO_maxexports | |
parent | 90b2654b7e6c459963f3445334299138d2633f96 (diff) | |
download | zsh-23154e46e6864f35c1fc2e052c4ea14fb42014fb.tar.gz zsh-23154e46e6864f35c1fc2e052c4ea14fb42014fb.tar.xz zsh-23154e46e6864f35c1fc2e052c4ea14fb42014fb.zip |
43879: vcs_info git: Fix fatal error in VCS_INFO_git_getbranch in corner case
Before this commit, the following use-case: git checkout foo^ git show foo | git am would result in a fatal error, with vcs_info_msg_N_ not set: VCS_INFO_git_getbranch:18: no such file or directory: .git/rebase-apply/onto Now they are set correctly, and HEAD's commit hash is used.
Diffstat (limited to 'Functions/VCS_Info/VCS_INFO_maxexports')
0 files changed, 0 insertions, 0 deletions