From 23154e46e6864f35c1fc2e052c4ea14fb42014fb Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 9 Dec 2018 19:41:19 +0000 Subject: 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. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 129a38e80..e2508d6d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-12-13 Daniel Shahaf + + * 43879: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: + vcs_info git: Fix fatal error in VCS_INFO_git_getbranch in + corner case + 2018-12-09 dana * 43871: Completion/Unix/Type/_files: Support `-F '(pat ...)'` as -- cgit 1.4.1