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

Re: [PATCH v3] peel_onion(): add support for <rev>^{tag}

From
Jeff King <peff@peff.net>
Date
Sep 3, 2013, 17:46 UTC
Message-ID
<20130903174604.GD1050@sigill.intra.peff.net>
In-Reply-To
<1378229853-21236-1-git-send-email-rhansen@bbn.com>
On Tue, Sep 03, 2013 at 01:37:33PM -0400, Richard Hansen wrote:
> ---
> Changes since v2 (2013-09-02, see
> <http://thread.gmane.org/gmane.comp.version-control.git/233598>):
>   * add a test case (hopefully I didn't go overboard)
Personally I was thinking just
  test_must_fail git rev-parse HEAD^{tag} &&
  git rev-parse commit-tag >expect &&
  git rev-parse commit-tag^{tag} >actual &&
  test_cmp expect actual
but I do not think it hurts to be more thorough.
Thanks, this version of the patch looks ready to me.
-Peff
Previous: Richard HansenNext: Eric Sunshine
Message 2 of 4 in “peel_onion(): add support for <rev>^{tag}”
  1. peel_onion(): add support for <rev>^{tag}Richard Hansen, Sep 3, 2013
  2. Jeff KingSep 3, 2013
  3. Eric SunshineSep 3, 2013
  4. Richard HansenSep 3, 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.