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

Re: [PATCH] cg-init shouldn't create master branch when pulling

From
PRPavel Roskin <proski@gnu.org>
Date
May 3, 2005, 20:48 UTC
Message-ID
<1115153289.28520.17.camel@dv.roinet.com>
In-Reply-To
<1114637617.15385.10.camel@dv>
Hello!
Replying to myself.
On Wed, 2005-04-27 at 17:33 -0400, Pavel Roskin wrote:
Show 7 quoted lines
> Hello!
> 
> >From what I see in the current cogito sources, ".git/refs/heads/master"
> is never used once it's created by cg-init.  I believe the "master"
> branch is only useful when creating a new repository.  Then it's the
> only branch in the repository.
> 

Please ignore this patch for now. It turn out that the repositories with only "origin" branch don't get updated properly by cg-update. Changes don't get merged, so cg-cancel need to be run after cg-update.

It looks like that the "master" branch is needed, although it's not documented anywhere. Or maybe we need some further changes to support origin-only repositories. In any case, changing cg-init is not sufficient.

-- 
Regards,
Pavel Roskin
Previous: Pavel Roskin
Message 2 of 2 in “cg-init shouldn't create master branch when pulling”
  1. cg-init shouldn't create master branch when pullingPavel Roskin, Apr 27, 2005
  2. Pavel RoskinMay 3, 2005

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.