aboutsummaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-01-04 14:03:07 -0800
committerJunio C Hamano <gitster@pobox.com>2016-01-04 14:03:08 -0800
commite3073cf895f335c6544d17b143c6e272436d149f (patch)
treefc72c5d5f8e219b8678b70243e77bc441df0758f /revision.c
parente0025275827ea57a3a14aecfde1cd3812e70652a (diff)
parent728350b76a2244e7cf79412f46e990e763ebf89e (diff)
downloadgit-e3073cf895f335c6544d17b143c6e272436d149f.tar.gz
git-e3073cf895f335c6544d17b143c6e272436d149f.tar.xz
Merge branch 'jk/pending-keep-tag-name' into maint
History traversal with "git log --source" that starts with an annotated tag failed to report the tag as "source", due to an old regression in the command line parser back in v2.2 days. * jk/pending-keep-tag-name: revision.c: propagate tag names from pending array
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/revision.c b/revision.c
index f6caef067..e0107738b 100644
--- a/revision.c
+++ b/revision.c
@@ -294,9 +294,8 @@ static struct commit *handle_commit(struct rev_info *revs,
/*
* We'll handle the tagged object by looping or dropping
* through to the non-tag handlers below. Do not
- * propagate data from the tag's pending entry.
+ * propagate path data from the tag's pending entry.
*/
- name = "";
path = NULL;
mode = 0;
}