git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC/PATCH 0/3] New kind of upstream branch: downstream branch
@ 2013-05-16  3:43 Felipe Contreras
  2013-05-16  3:43 ` [RFC/PATCH 1/3] remote: don't override default if cur head remote is '.' Felipe Contreras
                   ` (2 more replies)
  0 siblings, 3 replies; 28+ messages in thread
From: Felipe Contreras @ 2013-05-16  3:43 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Felipe Contreras

Hi,

After thinking a bit more about, I think the current 'upstream' branch serves
most of the purposes; actually tracks an upstream branch; makes sense to rebase
onto that, makes sense to fetch from that remote, merge, and pull.

The only job it doesn't make sense to use the 'upstream' branch for is to push,
so here's a new notion of 'downstream' branch.

These patches are only exploratory, 'git branch -v' doesn't show these
branches, there's no @{downstream}, no documentation, and there isn't even a
way to set it.

If there's no downstream branch configured, nothing changes.

Felipe Contreras (3):
  remote: don't override default if cur head remote is '.'
  pull: trivial cleanups
  push: add separate 'downstream' branch

 builtin/push.c | 65 ++++++++++++++++++++++++++++++++++++----------------------
 git-pull.sh    | 15 +++++++++-----
 remote.c       | 10 ++++++---
 remote.h       |  3 +++
 4 files changed, 61 insertions(+), 32 deletions(-)

-- 
1.8.3.rc1.579.g184e698

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

end of thread, other threads:[~2013-05-16 15:24 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-16  3:43 [RFC/PATCH 0/3] New kind of upstream branch: downstream branch Felipe Contreras
2013-05-16  3:43 ` [RFC/PATCH 1/3] remote: don't override default if cur head remote is '.' Felipe Contreras
2013-05-16  3:43 ` [RFC/PATCH 2/3] pull: trivial cleanups Felipe Contreras
2013-05-16  8:29   ` Ramkumar Ramachandra
2013-05-16  8:56     ` Felipe Contreras
2013-05-16  9:34       ` Ramkumar Ramachandra
2013-05-16  9:36         ` Felipe Contreras
2013-05-16  9:54           ` Ramkumar Ramachandra
2013-05-16 10:15             ` Felipe Contreras
2013-05-16 10:18               ` Ramkumar Ramachandra
2013-05-16 10:24                 ` Felipe Contreras
2013-05-16 11:54           ` Antoine Pelisse
2013-05-16 13:36             ` Felipe Contreras
2013-05-16  3:43 ` [RFC/PATCH 3/3] push: add separate 'downstream' branch Felipe Contreras
2013-05-16  5:36   ` Junio C Hamano
2013-05-16  6:00     ` Felipe Contreras
2013-05-16  6:14       ` Junio C Hamano
2013-05-16 15:24     ` Junio C Hamano
2013-05-16  8:21   ` Ramkumar Ramachandra
2013-05-16  9:05     ` Felipe Contreras
2013-05-16  9:20       ` Ramkumar Ramachandra
2013-05-16  9:33         ` Felipe Contreras
2013-05-16 10:06           ` Ramkumar Ramachandra
2013-05-16 10:22             ` Felipe Contreras
2013-05-16 11:31               ` Ramkumar Ramachandra
2013-05-16 13:32                 ` Felipe Contreras
2013-05-16 13:52                   ` Ramkumar Ramachandra
2013-05-16 14:53                     ` Felipe Contreras

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