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

Re: [PATCH 1/2] Use a common function to get the pretty name of refs

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Mar 9, 2009, 16:00 UTC
Message-ID
<alpine.LNX.1.00.0903091159000.19665@iabervon.org>
In-Reply-To
<alpine.DEB.1.00.0903091036420.10279@pacific.mpi-cbg.de>
On Mon, 9 Mar 2009, Johannes Schindelin wrote:
Show 10 quoted lines
> Hi,
> 
> On Sun, 8 Mar 2009, Daniel Barkalow wrote:
> 
> > The result should be consistent between fetch and push, so we ought to 
> > use the same code in both cases, even though it's short.
> 
> You might want to mention that we cannot use skip_prefix() here, as that 
> function does not give us any clue if something was skipped at all, and we 
> must _not_ skip multiple prefixes.

I didn't even know about the skip_prefix() function; I just moved code around.

	-Daniel
*This .sig left intentionally blank*
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 4 in “Use a common function to get the pretty name of refs”
  1. 1/2 Use a common function to get the pretty name of refsDaniel Barkalow, Mar 9, 2009
  2. Johannes SchindelinMar 9, 2009
  3. Daniel BarkalowMar 9, 2009
  4. Johannes SchindelinMar 9, 2009

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.