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

Re: [PATCH v3] push: Provide situational hints for non-fast-forward errors

From
Christopher Tiwald <christiwald@gmail.com>
Date
Mar 26, 2012, 19:57 UTC
Message-ID
<20120326195743.GD32387@gmail.com>
In-Reply-To
<20120326195150.GA13098@sigill.intra.peff.net>
On Mon, Mar 26, 2012 at 03:51:50PM -0400, Jeff King wrote:
Show 12 quoted lines
> On Mon, Mar 26, 2012 at 03:20:01PM -0400, Christopher Tiwald wrote:
> 
> > I used the REF_STATUS_* enum as a template for what I wanted to accomplish
> > when authoring v1, but did notice there was no other place my new
> > options made much sense (Junio helped me remove one other call between v1
> > and v2). I like the readability fixup, but it won't compile as both push.c
> > and transport.c need to see these. Would something like the following
> > work? It simply moves the define statements to cache.h, so that both push and
> > transport can use them.
> 
> My suggestion put them in transport.h, which is included from both
> places. It compiles fine for me. Am I missing something?

Ah nope. That was me. Sorry about the noise. This otherwise makes sense to me.

-- Christopher Tiwald

Previous: Jeff KingNext: Jeff King
Message 6 of 9 in “push: Provide situational hints for non-fast-forward errors”
  1. push: Provide situational hints for non-fast-forward errorsChristopher Tiwald, Mar 20, 2012
  2. Junio C HamanoMar 20, 2012
  3. Jeff KingMar 23, 2012
  4. Christopher TiwaldMar 26, 2012
  5. Jeff KingMar 26, 2012
  6. Christopher TiwaldMar 26, 2012
  7. Jeff KingMar 26, 2012
  8. Junio C HamanoMar 26, 2012
  9. Jeff KingMar 26, 2012

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.