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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html