Re: [PATCH] status: add advice on how to push/pull to tracking branch

2012-11-16 Thread Matthieu Moy
Junio C Hamano writes: > Matthieu Moy writes: > >> I don't understand what you mean by "non-current". If you mean a local >> branch not pointed to by HEAD, then I don't understand the remark, as >> the message is shown by "git status" (looking more closely, it is also >> shown by "git checkout",

Re: [PATCH] status: add advice on how to push/pull to tracking branch

2012-11-15 Thread Junio C Hamano
Matthieu Moy writes: > I don't understand what you mean by "non-current". If you mean a local > branch not pointed to by HEAD, then I don't understand the remark, as > the message is shown by "git status" (looking more closely, it is also > shown by "git checkout", but after switching branch so a

Re: [PATCH] status: add advice on how to push/pull to tracking branch

2012-11-15 Thread Matthieu Moy
Junio C Hamano writes: >> -if (!num_theirs) >> +if (!num_theirs) { >> strbuf_addf(sb, >> Q_("Your branch is ahead of '%s' by %d commit.\n", >> "Your branch is ahead of '%s' by %d commits.\n", >> num_ours), >

Re: [PATCH] status: add advice on how to push/pull to tracking branch

2012-11-15 Thread Junio C Hamano
Matthieu Moy writes: > Signed-off-by: Matthieu Moy > --- > I thought this was obvious enough not to deserve an advice, but a > colleague of mine had troubles with "commited but not pushed" changes. > Maybe an additional advice would have helped. After all, it's an > advice, and can be deactivate

[PATCH] status: add advice on how to push/pull to tracking branch

2012-11-15 Thread Matthieu Moy
Signed-off-by: Matthieu Moy --- I thought this was obvious enough not to deserve an advice, but a colleague of mine had troubles with "commited but not pushed" changes. Maybe an additional advice would have helped. After all, it's an advice, and can be deactivated ... remote.c