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

Re: [PATCH v2] bash: Match lightweight tags in prompt

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 1, 2010, 19:53 UTC
Message-ID
<7vr5e1uv55.fsf@alter.siamese.dyndns.org>
In-Reply-To
<AANLkTinvAnGh6PU2bRrx_uGU81zjVHcFmZWwqpKpjO=1@mail.gmail.com>
knittl <knittl89@googlemail.com> writes:
> From 6be63c5bc1a411a13a012a6508a7301bed7faec6 Mon Sep 17 00:00:00 2001
> From: Daniel Knittl-Frank <knittl89+git@googlemail.com>
> Date: Fri, 19 Nov 2010 16:40:02 +0100
> Subject: [PATCH] bash: Match lightweight tags in prompt

Please drop these lines next time, so that I do not have to remove them in my editor before applying.

> the bash prompt would display a commit's SHA1 when having checked out a
> lightweight tag.  provide `--tags` to `git describe` in the completion
> script, so it will display lightweight tag names (as it already does for
> annotated tags)

Hmph. Is your Shift-key broken (probably not, as you spelled SHA in capital)?

Show 5 quoted lines
> Signed-off-by: Daniel Knittl-Frank <knittl89+git@googlemail.com>
> ---
> version two of my patch, adding the missing s-o-b and extending commit message
>
> the diff is still the same as v1
Thanks; will apply (no need for resend).
Previous: knittl
Message 2 of 2 in “bash: Match lightweight tags in prompt”
  1. bash: Match lightweight tags in promptknittl, Dec 1, 2010
  2. Junio C HamanoDec 1, 2010

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.