Re: [PATCH v3] tag: generate useful reflog message

2017-02-06 Thread Junio C Hamano
cornelius.w...@tngtech.com writes: > + strbuf_addstr(sb, " ("); > + type = sha1_object_info(sha1, NULL); > + switch (type) { > + default: > + strbuf_addstr(sb, _("internal object")); > + break; The code does not even know if this is an "internal" object, do

[PATCH v3] tag: generate useful reflog message

2017-02-06 Thread cornelius . weig
From: Cornelius Weig When tags are created with `--create-reflog` or with the option `core.logAllRefUpdates` set to 'always', a reflog is created for them. So far, the description of reflog entries for tags was empty, making the reflog hard to understand. For example: 6e3a7b3 refs/tags/test@{0}: