git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] GIT_TRACE: show which built-in/external commands are executed

From
MLMatthias 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.

Previous: Johannes SchindelinNext: Jakub Narebski
Message 9 of 10 in “[RFC] git --trace: trace command execution”
  1. Matthias LederhoferJun 25, 2006
  2. Junio C HamanoJun 25, 2006
  3. Matthias LederhoferJun 25, 2006
  4. GIT_TRACE: show which built-in/external commands are executedMatthias Lederhofer, Jun 25, 2006
  5. Johannes SchindelinJun 25, 2006
  6. Petr BaudisJun 25, 2006
  7. Matthias LederhoferJun 25, 2006
  8. Johannes SchindelinJun 25, 2006
  9. Matthias LederhoferJun 28, 2006
  10. Jakub NarebskiJun 29, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.