[PATCH] status: show branch name if possible in in-progress info

2013-01-29 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com --- Seems like a good thing to do. t/t7512-status-help.sh | 36 +++ wt-status.c| 58 ++ wt-status.h| 1 + 3 files changed, 68

Re: [PATCH] status: show branch name if possible in in-progress info

2013-01-29 Thread Matthieu Moy
I like the idea. Nguyễn Thái Ngọc Duy pclo...@gmail.com writes: diff --git a/t/t7512-status-help.sh b/t/t7512-status-help.sh index b3f6eb9..096ba6f 100755 --- a/t/t7512-status-help.sh +++ b/t/t7512-status-help.sh @@ -76,7 +76,7 @@ test_expect_success 'status when rebase in progress before

Re: [PATCH] status: show branch name if possible in in-progress info

2013-01-29 Thread Matthieu Moy
Duy Nguyen pclo...@gmail.com writes: On Tue, Jan 29, 2013 at 7:31 PM, Matthieu Moy matthieu@grenoble-inp.fr wrote: I like the idea. Nguyễn Thái Ngọc Duy pclo...@gmail.com writes: diff --git a/t/t7512-status-help.sh b/t/t7512-status-help.sh index b3f6eb9..096ba6f 100755 ---

Re: [PATCH] status: show branch name if possible in in-progress info

2013-01-29 Thread Junio C Hamano
Matthieu Moy matthieu@grenoble-inp.fr writes: Not HEAD, but .git/rebase-merge/onto, i.e. the target of the rebase. Ideally, I would have loved to see rebasing master on origin/master, but I do not think the target ref name is stored during rebase. Perhaps do it with --format=%s then. It