Re: [PATCH] GIT_TRACE: show which built-in/external commands are executed
- From
- Matthias Lederhofer <matled@gmx.net>
- Date
- Jun 28, 2006, 18:22 UTC
- Message-ID
- <E1Fveg1-0006u8-D7@moooo.ath.cx>
- In-Reply-To
- <Pine.LNX.4.63.0606260129410.29667@wbgn013.biozentrum.uni-wuerzburg.de>
> That still leaves my problem: GIT_TRACE=1 on scripts is incomplete.
Ok, I see what you mean.
This actually affects all scripts which are called as git-foo instead of git foo (but built-in commands show up anyway). So I'd add a warning to the documentation in which cases GIT_TRACE will not show that a command is executed. In the git repository I found 47 shell scripts (git-* without the header file) which would be affected. Searching for all occurences of git-(one of those shell-scripts) I found 50 lines of code which use it. If there is any interest in changing this I can try to change this.