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

Re: cg-push - push to a different head

From
Petr Baudis <pasky@suse.cz>
Date
Sep 12, 2005, 02:03 UTC
Message-ID
<20050912020356.GN15630@pasky.or.cz>
In-Reply-To
<46a038f90509111856aa3c23@mail.gmail.com>

Dear diary, on Mon, Sep 12, 2005 at 03:56:37AM CEST, I got a letter where Martin Langhoff <martin.langhoff@gmail.com> told me that...

> Hi Petr,
Hi,
Show 14 quoted lines
> good to see you back. Now, before you go on holidays again... ;-)
> 
> I'd be happy to work a bit on cg-clone to get this scenario working. 
>   
>       $ cg-clone somehost.com/somerepo.dir#odd-branch locadir
>       ... work ... commit ... work
>       $ cg-push
>       cg-push: pushing to a different head not supported yet
>       ... grrr...
>       $ git-push somehost.com/somerepo.dir master:odd-branch
>       # this works!
>  
> I am 100% confuses as to how cg-push is supposed to work. Am I doing
> something wrong, or how should I fix cg-push to do the right thing?

you are doing nothing wrong, it's entirely matter of a probably-not-too-complicated cg-push fix. Actually, looking at the code, cg-push seems to even do the wrong thing if you just aren't on the master branch.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
Previous: Martin Langhoff
Message 2 of 2 in “cg-push - push to a different head”
  1. Martin LanghoffSep 12, 2005
  2. Petr BaudisSep 12, 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.