Git development
 help / color / mirror / Atom feed
* [PATCH 0/2] Branch --set-upstream
@ 2010-01-18 20:44 Ilari Liusvaara
  2010-01-18 20:44 ` [PATCH 1/2] Add branch --set-upstream Ilari Liusvaara
  2010-01-18 20:44 ` [PATCH 2/2] branch: warn and refuse to set a branch as a tracking branch of itself Ilari Liusvaara
  0 siblings, 2 replies; 4+ messages in thread
From: Ilari Liusvaara @ 2010-01-18 20:44 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Matthieu Moy

This adds new switch --set-upstream that can set upstream information
on existing branch branch without changing where the branch points
to.

push --set-upstream doesn't help if user doesn't have push priviledges
or if user is not up to date with upstream. Forcing branch recreate
is not possible if user has own patches appiled to the branch.

This series is edited version of Matthieu Moy's branch --track patch
series. The first patch is edited, the second is resent as-is.

Ilari Liusvaara (1):
  Add branch --set-upstream

Matthieu Moy (1):
  branch: warn and refuse to set a branch as a tracking branch of
    itself.

 Documentation/git-branch.txt |    8 ++++++-
 branch.c                     |   45 ++++++++++++++++++++++++++++++-----------
 builtin-branch.c             |    2 +
 cache.h                      |    1 +
 t/t6040-tracking-info.sh     |   21 +++++++++++++++++++
 5 files changed, 64 insertions(+), 13 deletions(-)

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

end of thread, other threads:[~2010-01-19  7:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 20:44 [PATCH 0/2] Branch --set-upstream Ilari Liusvaara
2010-01-18 20:44 ` [PATCH 1/2] Add branch --set-upstream Ilari Liusvaara
2010-01-19  7:22   ` Matthieu Moy
2010-01-18 20:44 ` [PATCH 2/2] branch: warn and refuse to set a branch as a tracking branch of itself Ilari Liusvaara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox