Re: [PATCH 2/2] setup.c: re-fix d95138e (setup: set env $GIT_WORK_TREE when ..
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 4, 2015, 20:35 UTC
- Message-ID
- <xmqqa8pqrlz0.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1449166676-30845-2-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> ... Now I conclude > that setup-messed-by-alias is always evil. So the env restoration is > done for _all_ commands whenever aliases are involved.
So a side effect of this is whenever an alias is involved, all commands are re-spawned, not just the external ones but builtins as well.
> This may be a brilliant fix, or another invitation for regressions.
;-)