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

Re: git-fetch will leave a ref pointing to a tag

From
Jeff King <peff@peff.net>
Date
Jul 3, 2007, 04:18 UTC
Message-ID
<20070703041859.GB4007@coredump.intra.peff.net>
In-Reply-To
<20070703032315.7279.qmail@science.horizon.com>
On Mon, Jul 02, 2007 at 11:23:15PM -0400, linux@horizon.com wrote:
> And until git-merge-ff is available, what's the recommended way to
> "advance master to tag <foo>, but only if that wouldn't lose anything?"
You can ask "do I have anything that foo doesn't?":
  test "`git-rev-list foo.. | wc -l`" -gt 0
-Peff
Previous: linux@horizon.comNext: Johannes Schindelin
Message 6 of 8 in “git-fetch will leave a ref pointing to a tag”
  1. linux@horizon.comJul 2, 2007
  2. Johannes SchindelinJul 2, 2007
  3. Junio C HamanoJul 2, 2007
  4. Johannes SchindelinJul 2, 2007
  5. linux@horizon.comJul 3, 2007
  6. Jeff KingJul 3, 2007
  7. Johannes SchindelinJul 3, 2007
  8. Jeff KingJul 3, 2007

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.