[PATCH 0/3] Improve branch UI for setting upstream information
- From
Carlos Martín Nieto <cmn@elego.de>
- Date
- Aug 20, 2012, 13:47 UTC
- Message-ID
- <1345470460-28734-1-git-send-email-cmn@elego.de>
Hi all,
After way too long, here's the next iteration of the concept that began with swapping arguments in --set-upstream like -m does.
After the feedback from the list, --set-upstream-to was born and --set-upstream is being deprecated in favour of either --track or --set-upstream-to depening on which of the behaviours the user wants to have.
Using --set-upsteam with one argument now also leads to a message explaining how to undo it. For that, branch has learnt --unset-upstream which will remove the upstream information for the given branch (or HEAD).
Carlos Martín Nieto (3): branch: introduce --set-upstream-to branch: add --unset-upstream option branch: suggest how to undo a --set-upstream when given one branch
Documentation/git-branch.txt | 14 +++++++- builtin/branch.c | 65 +++++++++++++++++++++++++++++++++-- t/t3200-branch.sh | 82 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 157 insertions(+), 4 deletions(-)
-- 1.7.11.1.104.ge7b44f1