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

Re: Problems setting up bare repository (git 1.5.3.3)

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 1, 2007, 23:24 UTC
Message-ID
<7v641qquzq.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<87bqbisae6.wl%cworth@cworth.org>
Carl Worth <cworth@cworth.org> writes:
Show 6 quoted lines
> On Mon, 01 Oct 2007 15:32:58 -0700, Junio C Hamano wrote:
>> "master:master") does not exist there, and we do not create it
>> unless you give a full refname that begins with refs/ (so that
>> push can tell if you want to create a tag or a branch).
>
> And why is that?

I think Daniel's rewrite of remote ref matching code that has been cooking in 'next' changes the match semantics of the remote side in subtle way to make it easier to favor branches when pushing branches, but I juggle many topics and I have to go back to the code to make sure. Since you are interested, and more importantly since I know you are capable to do the digging yourself, I won't be doing the digging myself immediately, though.

Previous: J. Bruce FieldsNext: Carl Worth
Message 5 of 18 in “Problems setting up bare repository (git 1.5.3.3)”
  1. Barry FishmanOct 1, 2007
  2. Junio C HamanoOct 1, 2007
  3. Carl WorthOct 1, 2007
  4. J. Bruce FieldsOct 1, 2007
  5. Junio C HamanoOct 1, 2007
  6. Carl WorthOct 1, 2007
  7. Shawn O. PearceOct 1, 2007
  8. Johannes SchindelinOct 2, 2007
  9. Barry FishmanOct 2, 2007
  10. Johannes SchindelinOct 2, 2007
  11. Barry FishmanOct 2, 2007
  12. Carl WorthOct 2, 2007
  13. Johannes SchindelinOct 2, 2007
  14. Junio C HamanoOct 2, 2007
  15. SeanOct 2, 2007
  16. Junio C HamanoOct 2, 2007
  17. Johannes SchindelinOct 2, 2007
  18. Johannes SchindelinOct 2, 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.