diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2013-06-16 14:15:16 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-17 10:05:40 -0700 |
commit | 3bed291a3b121408b4de83f4fa3cc0f1d98c676e (patch) | |
tree | 16f042d3e943d922e5c9b007783cb109740b941b /t/t3402-rebase-merge.sh | |
parent | status: do not depend on rebase reflog messages (diff) | |
download | tgif-3bed291a3b121408b4de83f4fa3cc0f1d98c676e.tar.xz |
checkout: respect GIT_REFLOG_ACTION
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 -
to work as expected after any operation that internally uses "checkout"
as its implementation detail, e.g. "rebase".
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3402-rebase-merge.sh')
0 files changed, 0 insertions, 0 deletions