Re: [PATCH] Proof-of-concept patch to remember what the detached HEAD was

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 17 Oct 2009, Bj?rn Steinbrink wrote:

On 2009.10.17 18:35:38 +0100, Julian Phillips wrote:
On Sat, 17 Oct 2009, Bj?rn Steinbrink wrote:
Do you have multiple (annotated) tags for the same commit?

Potentially, yes.  Releasing isn't the only thing that requires
keeping track of things.  It's even possible that the person
creating the newer tag doesn't yet know that a release tag has been
applied if the person who applied it hasn't yet pushed it back.

OK, I'd consider that namespace pollution, as things like
"this-version-sucks" doesn't seem like it show go into public repos, but
anyway. If your release tags fix into a certain "unique" format, you
could use describe with --match, like:
git describe --match 'v[0-9]*'

Well - that only helps if we only ever build the release tags. Which isn't the case. The other tags are there for similar purposes and also should go into the version string - but only when they were the tag checked out.

Is it really that unreasonable to want to know exactly what it was that was checked out? It's one of the few things that I miss from Subversion.

--
Julian

 ---
printk(KERN_INFO MYNAM ": English readable SCSI-3 strings enabled :-)\n");
        linux-2.6.6/drivers/message/fusion/mptbase.c
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]