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

Re: [PATCH 4alt/4] attr: drop DEBUG_ATTR code

From
Jeff King <peff@peff.net>
Date
Oct 11, 2022, 00:26 UTC
Message-ID
<Y0S4TWdeK0dSL3VZ@coredump.intra.peff.net>
In-Reply-To
<fb4cfbd3-e738-f1e8-18f7-d4e90050b8b5@github.com>
On Thu, Oct 06, 2022 at 02:33:08PM -0400, Derrick Stolee wrote:
Show 9 quoted lines
> Are you implying that you want to use the second version, that
> deletes the information entirely? I'm leaning towards deleting
> it.
> 
> If not, and we should keep using traces, I do notice that the
> original version of the patch uses trace_printf_key() instead
> of a trace2 method. I think this is fine, too, since it's
> likely only to be used by Git developers, who could look for
> which type of trace to use.

I think it's moot, because we're all in agreement that the code should be deleted. But...

...it is not clear to me that GIT_TRACE_* is dead for further additions. I find it delightfully simple to use, and trace2 often rather baroque and complicated, since it is aimed more at structured data, as well as storing or even transmitting data.

I'm not sure if we have an overall plan there.
-Peff
Previous: Junio C HamanoNext: Jeff King
Message 10 of 11 in “a few small unused-parameter fixes”
  1. 0/4 a few small unused-parameter fixesJeff King, Oct 6, 2022
  2. 1/4 test-submodule: inline resolve_relative_url() functionJeff King, Oct 6, 2022
  3. 2/4 multi-pack-index: avoid writing to global in option callbackJeff King, Oct 6, 2022
  4. 3/4 commit: avoid writing to global in option callbackJeff King, Oct 6, 2022
  5. 4/4 attr: convert DEBUG_ATTR to use trace APIJeff King, Oct 6, 2022
  6. attr: drop DEBUG_ATTR codeJeff King, Oct 6, 2022
  7. Junio C HamanoOct 6, 2022
  8. Derrick StoleeOct 6, 2022
  9. Junio C HamanoOct 6, 2022
  10. Jeff KingOct 11, 2022
  11. Jeff KingOct 11, 2022

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.