git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cg-push - push to a different head
@ 2005-09-12  1:56 Martin Langhoff
  2005-09-12  2:03 ` Petr Baudis
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Langhoff @ 2005-09-12  1:56 UTC (permalink / raw)
  To: Petr Baudis, Git Mailing List

Hi Petr,

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?

cheers,



martin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cg-push - push to a different head
  2005-09-12  1:56 cg-push - push to a different head Martin Langhoff
@ 2005-09-12  2:03 ` Petr Baudis
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Baudis @ 2005-09-12  2:03 UTC (permalink / raw)
  To: Martin Langhoff; +Cc: Git Mailing List

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,

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-12  2:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-12  1:56 cg-push - push to a different head Martin Langhoff
2005-09-12  2:03 ` Petr Baudis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).