Several callers set GIT_REFLOG_ACTION via set_reflog_action(), but nobody unsets it, leaving a potentially stray variable in the environment. Fix this by making die_with_status() unset it. Signed-off-by: Ramkumar Ramachandra <artagnon@xxxxxxxxx> --- git-sh-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 2f78359..3297103 100644 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -51,6 +51,7 @@ die () { } die_with_status () { + export GIT_REFLOG_ACTION= status=$1 shift echo >&2 "$*" -- 1.8.3.1.456.gb7f4cb6 -- 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