summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2018-08-18 15:49:47 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-08-24 15:50:18 +0000
commit40d9681b6294fbc6727056320e0f84b06885eeeb (patch)
treef7106c9e281734d7af2fccc4f265552315d6f7f5 /ChangeLog
parent4cfbbf9ca5f1f7f6e79681fbad43daf674157727 (diff)
downloadzsh-40d9681b6294fbc6727056320e0f84b06885eeeb.tar.gz
zsh-40d9681b6294fbc6727056320e0f84b06885eeeb.tar.xz
zsh-40d9681b6294fbc6727056320e0f84b06885eeeb.zip
43313 (log message tweaked): vcs_info git: For the branch name, try to find a symbolic name before falling back to a raw commit hash.
Ask git-describe(1) and git-name-rev(1) to compute a gitrevisions(7)
name in terms of a branch or tag that contains (= is a descendant of,
is younger than) HEAD.

In this repository, the output changes from "9567bfe..." to
"master~1" or "remotes/origin/HEAD~1". This would also happen
during bisects, e.g., "bisect/bad~22".
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c69774286..a0df4b107 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2018-08-24  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 43313 (log message tweaked):
+	Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
+	For the branch name, try to find a symbolic name before falling
+	back to a raw commit hash.
+
 	* 43314: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
 	vcs_info git: Flatten a nested if.