[PATCH v2 0/4] nd/branch-show-rebase-bisect-state updates
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Mar 6, 2013, 12:21 UTC
- Message-ID
- <1362572482-20570-1-git-send-email-pclouds@gmail.com>
- In-Reply-To
- <1362303681-6585-1-git-send-email-pclouds@gmail.com>
Since the previous round:
- reflog format change is dropped - almost always show "HEAD detached from/at xxx" instead of "currently not on any branch", where "xxx" is either a ref, or an abbreviated sha-1
I wanted to introduce something like @{-1:to} that resolves the "to" sha-1 in reflog, in addition to @{-1} which resolves the "from" part. But the syntax looks ugly so I dropped it. Meanwhile people could do
git log -1 -g --grep-reflog checkout --pretty=format:%h
to retrieve the same info.
Nguyễn Thái Ngọc Duy (4): wt-status: split wt_status_state parsing function out wt-status: move wt_status_get_state() out to wt_status_print() status: show more info than "currently not on any branch" branch: show more information when HEAD is detached
builtin/branch.c | 25 +++++++- t/t3203-branch-output.sh | 6 +- t/t6030-bisect-porcelain.sh | 2 +- t/t7406-submodule-update.sh | 6 +- t/t7512-status-help.sh | 52 +++++++++------ wt-status.c | 152 ++++++++++++++++++++++++++++++++++---------- wt-status.h | 7 +- 7 files changed, 190 insertions(+), 60 deletions(-)
-- 1.8.1.2.536.gf441e6d