author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 28 Dec 2006 07:34:48 +0000 (02:34 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 28 Dec 2006 09:05:15 +0000 (01:05 -0800) | ||
commit | f94741324e26af42093a89e955ff9a923abff951 | |
tree | 0beeca333111820b6af3705435ccb837f7793e20 | tree | snapshot |
parent | b1f5f64fc831eb9f90bd07dc708279a921410bb2 | commit | diff |
Use GIT_REFLOG_ACTION environment variable instead.
Junio rightly pointed out that the --reflog-action parameter
was starting to get out of control, as most porcelain code
needed to hand it to other porcelain and plumbing alike to
ensure the reflog contained the top-level user action and
not the lower-level actions it invoked.
At Junio's suggestion we are introducing the new set_reflog_action
function to all shell scripts, allowing them to declare early on
what their default reflog name should be, but this setting only
takes effect if the caller has not already set the GIT_REFLOG_ACTION
environment variable.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio rightly pointed out that the --reflog-action parameter
was starting to get out of control, as most porcelain code
needed to hand it to other porcelain and plumbing alike to
ensure the reflog contained the top-level user action and
not the lower-level actions it invoked.
At Junio's suggestion we are introducing the new set_reflog_action
function to all shell scripts, allowing them to declare early on
what their default reflog name should be, but this setting only
takes effect if the caller has not already set the GIT_REFLOG_ACTION
environment variable.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-merge.txt | diff | blob | history | |
git-am.sh | diff | blob | history | |
git-fetch.sh | diff | blob | history | |
git-merge.sh | diff | blob | history | |
git-pull.sh | diff | blob | history | |
git-rebase.sh | diff | blob | history | |
git-sh-setup.sh | diff | blob | history |