From: Han-Wen Nienhuys <hanwen@xs4all.nl>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: git tag: don't complain of empty messages
Date: Wed, 15 Nov 2006 17:05:22 +0100 [thread overview]
Message-ID: <455B3AC2.10107@xs4all.nl> (raw)
In-Reply-To: <Pine.LNX.4.63.0611151657570.13772@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin escreveu:
> Hi,
>
> On Wed, 15 Nov 2006, Han-Wen Nienhuys wrote:
>
>> GIT refuses to set annotated tags without a comment. I think this is a silly
>> restriction when the message is explicitly set to the empty string.
>
> I think that this behaviour is on purpose: The tag will be identified
> (like all objects in git) by its contents. The rationale: the filename
> does not matter, since the tag _object_ is not identified by it. So, in
> case you lose your .git/refs/tags/ directory, you can still reconstruct
> the tags with "git-fsck-objects --full".
Without a message, the tag can still be identified by its name, which is
in the tag object contents.
--
next prev parent reply other threads:[~2006-11-15 16:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-15 15:34 git tag: don't complain of empty messages Han-Wen Nienhuys
2006-11-15 16:02 ` Johannes Schindelin
2006-11-15 16:05 ` Han-Wen Nienhuys [this message]
2006-11-15 16:19 ` Johannes Schindelin
2006-11-15 18:23 ` Junio C Hamano
2006-11-16 0:14 ` Han-Wen Nienhuys
2006-11-16 0:38 ` Jakub Narebski
2006-11-16 1:27 ` Han-Wen Nienhuys
2006-11-26 16:42 ` Han-Wen Nienhuys
2006-11-26 16:46 ` Han-Wen Nienhuys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=455B3AC2.10107@xs4all.nl \
--to=hanwen@xs4all.nl \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).