Johannes Sixt wrote:
Uwe Kleine-König wrote:
quoted
GIT_DIR="$GIT_DIR" git-$command ...
where the assignment to GIT_DIR should be superfluous?
git-sh-setup sets GIT_DIR, but does not export it. Therefore, this
assignment is *not* superfluous (its effect is to export GIT_DIR for
this command only).
..., but why do only two invocations of git get GIT_DIR="$GIT_DIR" and
the other 20+ don't?
Best regards
Uwe
--
Uwe Kleine-König
http://www.google.com/search?q=sine+of+%2830+degree%29