[PATCH 0/5] nd/branch-show-rebase-bisect-state updates
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Mar 3, 2013, 09:41 UTC
- Message-ID
- <1362303681-6585-1-git-send-email-pclouds@gmail.com>
This round addresses the code sharing issue in the previous round and shows a bit more info in both git-status and git-branch. Now when you do "git checkout v1.8.0" or "git checkout origin/master", you should see that ref in status/branch output, in addition to detached HEAD status.
Nguyễn Thái Ngọc Duy (5): checkout: record full target ref in reflog wt-status: split wt_status_state parsing function out wt-status: move wt_status_get_state() out to wt_status_print() status: show the ref that is checked out, even if it's detached branch: show more information when HEAD is detached
builtin/branch.c | 25 +++++++- builtin/checkout.c | 19 +++++- t/t6030-bisect-porcelain.sh | 2 +- wt-status.c | 139 ++++++++++++++++++++++++++++++++++---------- wt-status.h | 6 +- 5 files changed, 152 insertions(+), 39 deletions(-)
-- 1.8.1.2.536.gf441e6d