git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* branch.<branch>.merge and --format='%(upstream)'
@ 2009-06-16 11:08 Santi Béjar
  2009-06-16 12:23 ` Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Santi Béjar @ 2009-06-16 11:08 UTC (permalink / raw)
  To: Git Mailing List

Hi,

  I've noticed that having branch.<branch>.merge set with the branch
name, and not with the full ref, cause problems with
--format='%(upstream)'  and also with the "branch -av" and "git
status" upstream branch outputs. But git-fetch and git-pull works ok,
so it is a valid setting.

$ git clone git.git
$ cd git
$ git config branch.master.merge
refs/heads/master
$ git for-each-ref --format='%(upstream)' refs/heads/master
refs/remotes/origin/master
$ git config branch.master.merge master
$ git config branch.master.merge
master
$ git for-each-ref --format='%(upstream)' refs/heads/master

$

Best regards,
Santi

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [RFC/PATCH 0/2] Support for arbitrary mapping for "git pull --rebase"
@ 2009-06-18  7:57 Santi Béjar
  2009-06-18  7:57 ` branch.<branch>.merge and --format='%(upstream)' Santi Béjar
  0 siblings, 1 reply; 6+ messages in thread
From: Santi Béjar @ 2009-06-18  7:57 UTC (permalink / raw)
  To: git

Hi *,

  Here you have my patch serie to add support for arbitrary mapping for
"git pull --rebase".

  This is a RFC specially for the new "git remote" subcommand, tracking.
Suggest other things if you think of a better way.

  Santi

Santi Béjar (2):
  remote tracking: return the tracking branch for the given branches
  get_remote_merge_branch: Support for arbitrary mapping

 Documentation/git-remote.txt |    7 +++++++
 builtin-remote.c             |   35 +++++++++++++++++++++++++++++++++++
 git-parse-remote.sh          |   21 ++++++++++++---------
 3 files changed, 54 insertions(+), 9 deletions(-)

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

end of thread, other threads:[~2009-06-18  7:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-16 11:08 branch.<branch>.merge and --format='%(upstream)' Santi Béjar
2009-06-16 12:23 ` Jeff King
2009-06-16 14:07   ` Santi Béjar
2009-06-16 15:46   ` Junio C Hamano
2009-06-16 22:34     ` Santi Béjar
  -- strict thread matches above, loose matches on Subject: below --
2009-06-18  7:57 [RFC/PATCH 0/2] Support for arbitrary mapping for "git pull --rebase" Santi Béjar
2009-06-18  7:57 ` branch.<branch>.merge and --format='%(upstream)' Santi Béjar

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).