git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] git-tag: Allow --points-at syntax to create a tag pointing to specified commit

From
MNMichal Novotny <minovotn@redhat.com>
Date
Mar 14, 2013, 14:36 UTC
Message-ID
<5141E056.3090808@redhat.com>
In-Reply-To
<20130314133629.GA4256@serenity.lan>
On 03/14/2013 02:36 PM, John Keeping wrote:
> On Thu, Mar 14, 2013 at 01:34:54PM +0100, Michal Novotny wrote:
>> This patch adds the option to specify SHA-1 commit hash using --points-at
>> option of git tag to create a tag pointing to a historical commit.
> What does this do that "git tag <name> <commit>" doesn't?

Oh, interesting. It's working now and I didn't know that as it was not working some time ago I've been trying this approach. Maybe it's been added recently as I also saw several sites having different approach of tagging to specified commit (usually creating a new branch, tagging there and rebasing etc.).

Thanks for information! Michal

-- 
Michal Novotny <minovotn@redhat.com>, RHCE, Red Hat
Virtualization | libvirt-php bindings | php-virt-control.org
Previous: John KeepingNext: Junio C Hamano
Message 3 of 4 in “git-tag: Allow --points-at syntax to create a tag pointing to specified commit”
  1. git-tag: Allow --points-at syntax to create a tag pointing to specified commitMichal Novotny, Mar 14, 2013
  2. John KeepingMar 14, 2013
  3. Michal NovotnyMar 14, 2013
  4. Junio C HamanoMar 14, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.