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

Re: [PATCH] Use git-for-each-ref to check whether the origin branch exists.

From
Junio C Hamano <junkio@cox.net>
Date
May 23, 2007, 18:06 UTC
Message-ID
<7vlkff2z4v.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0705231153000.4113@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 14 quoted lines
> 	Default for ref-packed repositories is to pack only the tags, 
> 	therefore you usually do not need this patch. However, it looks 
> 	obviously correct to me. A cursory test also showed that it does 
> 	not break anything.
>
> 	> Maybe you want to use this or a similar solution to be 
> 	> integrated in stock git.
> 	
> 	Unfortunately your patch is white-space corrupted (it has an extra 
> 	space on all lines starting with a space, it seems). Therefore I 
> 	redid it with this email.
>
> 	It would be nice to follow Documentation/SubmittingPatches next 
> 	time. For example, I guess that you want to sign off on it...
Thanks both.
Previous: Stephan Springl
Message 4 of 4 in “make git-cvsimport work on ref-packed repositories”
  1. make git-cvsimport work on ref-packed repositoriesStephan Springl, May 23, 2007
  2. Use git-for-each-ref to check whether the origin branch exists.Johannes Schindelin, May 23, 2007
  3. Stephan SpringlMay 23, 2007
  4. Junio C HamanoMay 23, 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.