Re: [PATCH 5/8] checkout: respect GIT_REFLOG_ACTION

2013-06-18 Thread Junio C Hamano
Ramkumar Ramachandra writes: > Fix the failing tests in t/checkout-last by making checkout respect it > too. You can now expect > > $ git checkout - > > to work as expected after any a rebase [-i]. It will also work with any > other scripts provided they set an appropriate GIT_REFLOG_ACTION i

Re: [PATCH 5/8] checkout: respect GIT_REFLOG_ACTION

2013-06-18 Thread Ramkumar Ramachandra
Junio C Hamano wrote: > By the way, please stop doing "t/checkout-last" which I have to > manually fix-up every time to its actual prefix (i.e. I cannot > review with "less t/checkout-last*" to see what the log message is > talking about; I can with "less t/t2012-checkout-last*"). Ah, I didn't rea

[PATCH 5/8] checkout: respect GIT_REFLOG_ACTION

2013-06-18 Thread Ramkumar Ramachandra
GIT_REFLOG_ACTION is an environment variable specifying the reflog message to write after an action is completed. Several other commands including merge, reset, and commit respect it. Fix the failing tests in t/checkout-last by making checkout respect it too. You can now expect $ git checkout