git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Baudis <pasky@suse.cz>
To: Martin Langhoff <martin.langhoff@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: cg-push - push to a different head
Date: Mon, 12 Sep 2005 04:03:56 +0200	[thread overview]
Message-ID: <20050912020356.GN15630@pasky.or.cz> (raw)
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,

> 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

      reply	other threads:[~2005-09-12  2:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-12  1:56 cg-push - push to a different head Martin Langhoff
2005-09-12  2:03 ` Petr Baudis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050912020356.GN15630@pasky.or.cz \
    --to=pasky@suse.cz \
    --cc=git@vger.kernel.org \
    --cc=martin.langhoff@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).