summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-12 01:01:29 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-17 15:32:05 +0000
commit297471cf7737c4dfe8097988b8a5bd61872df837 (patch)
treee397836b6e3af443a668ddd7e3a4df9427e2a1e9 /ChangeLog
parentd7b57cc9576648020f4f68b52cce5c7e59548258 (diff)
downloadzsh-297471cf7737c4dfe8097988b8a5bd61872df837.tar.gz
zsh-297471cf7737c4dfe8097988b8a5bd61872df837.tar.xz
zsh-297471cf7737c4dfe8097988b8a5bd61872df837.zip
39921: __git_recent_branches: Remove erroneous parsing of partial ref names as tags.
In the reflog, partial ref names in the "from" field always represent names of
heads.  (That is not true for the "to" field.)  The parsing of tag names was
added in commit 39102 (317c96b64f43688a6be08a8b1c93b6ab4eed662c) for equivalence
with the then-previous implementation which used `git log $partial_ref_name`.
The equivalence was correct, however, the then-previous implementation was not,
since it would consider $partial_ref_name as a refs/tags/ name if a refs/heads/
name did not exist.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 65974fc9a..aa3b57bf0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-11-17  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 39921: Completion/Unix/Command/_git: __git_recent_branches:
+	Remove erroneous parsing of partial ref names as tags.
+
 	* 39922: Completion/Unix/Command/_git: __git_recent_branches:
 	Fix an 'assertion' failure when two branches (refs) point to
 	the same commit.