git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
To: git@vger.kernel.org
Subject: Re: Now What?
Date: Thu, 3 Nov 2005 23:33:13 +0100	[thread overview]
Message-ID: <200511032333.13823.Josef.Weidendorfer@gmx.de> (raw)
In-Reply-To: <7vll05bd1w.fsf@assigned-by-dhcp.cox.net>

On Thursday 03 November 2005 23:07, Junio C Hamano wrote:
> I wonder if it would make sense to have something in .git/remotes/
> file that says "run merge only when I am on frotz branch", like
> this:
> 
>         ~/git/git-core]cat .git/remotes/origin
>         URL: git://git.kernel.org/pub/scm/git/git.git
>         Pull: master:origin
> 	Fetch-Only-Unless: master
> 
>         ~/git/git-core]git-checkout maint
> 	~/git/git-core]git pull
> 	warning: not merging because you are not on 'master' branch.

This is quite limiting, if you keep multiple branches from origin in your
repository.
It would be better to be able to specify per-branch Pull lines. I.e. the
default pull action depends on the branch you are on.

        URL: git://git.kernel.org/pub/scm/git/git.git
        Pull(master): master:origin

        ~/git/git-core]git-checkout maint
 	~/git/git-core]git pull
 	warning: no default pull action for branch 'maint' specified

Syntax arguable.

Josef

  reply	other threads:[~2005-11-03 22:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-03  1:30 Now What? Jon Loeliger
2005-11-03  1:43 ` Chris Shoemaker
2005-11-03  9:00   ` Junio C Hamano
2005-11-03 18:51   ` Jon Loeliger
2005-11-06 20:33     ` Junio C Hamano
2005-11-03  8:38 ` Peter Eriksen
2005-11-03 10:00   ` Junio C Hamano
2005-11-03 17:05     ` Daniel Barkalow
2005-11-03 17:27       ` Linus Torvalds
2005-11-03 18:38         ` Junio C Hamano
2005-11-03 17:30       ` Peter Eriksen
2005-11-03 22:07       ` Junio C Hamano
2005-11-03 22:33         ` Josef Weidendorfer [this message]
2005-11-04 17:06         ` Daniel Barkalow
2005-11-03 17:25   ` Linus Torvalds
2005-11-03  8:58 ` Junio C Hamano
2005-11-03 20:55 ` Junio C Hamano
2005-11-03 22:17   ` Josef Weidendorfer
2005-11-03 22:51     ` Junio C Hamano
2005-11-03 23:26       ` Josef Weidendorfer

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=200511032333.13823.Josef.Weidendorfer@gmx.de \
    --to=josef.weidendorfer@gmx.de \
    --cc=git@vger.kernel.org \
    /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).