diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-12-28 13:58:03 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-12-28 13:58:04 -0800 |
commit | 71957339da64100db4114106bbba4e9c5bcf8f86 (patch) | |
tree | 4a681fcd9d23ed82c7121c5831cd74a936beff3d /revision.c | |
parent | e929264e8d769cd3637279c0a2b6338f9ec1c4c3 (diff) | |
parent | 728350b76a2244e7cf79412f46e990e763ebf89e (diff) | |
download | git-71957339da64100db4114106bbba4e9c5bcf8f86.tar.gz |
Merge branch 'jk/pending-keep-tag-name'
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/revision.c b/revision.c index 9404a05eeb..0a282f533b 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; } |