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

Re: [PATCH v8 1/5] Introduce bulk-move detection in diffcore.

From
YDYann Dirson <ydirson@free.fr>
Date
Nov 4, 2010, 21:56 UTC
Message-ID
<20101104215625.GB3167@home.lan>
In-Reply-To
<20101030002600.GC21410@burratino>
On Fri, Oct 29, 2010 at 07:26:00PM -0500, Jonathan Nieder wrote:
Show 12 quoted lines
> Yann Dirson wrote:
> 
> > Hm, I fear too much granularity would become meaningless :)
> [...]
> >                 If the code needs to be easier to understand, I'd
> > rather add some more doc, than added commits that are basically
> > "useless for bisect".
> 
> Yes, the example list was probably a little overboard.  Even so, the
> idea was to maintain bisectability by introducing a few tests at a
> time.  That way, the fallout of a subfeature can easily be found with
> "git bisect", among other benefits[1].

I like the idea when successive commits get new functionality, but we have to avoid introducing known-broken functionality and fixing them in later patches - and I fear the list as you described it was going that latter way.

Show 7 quoted lines
> >> Is the debugging output infrequent enough to just use a function
> >> unconditionally?
> >
> > You mean, keep funccalls even with DEBUG_BULKMOVE is not set ?  No,
> > there are too many traces for that.
> 
> Yep, that's what I meant.  Alas.

Well, thinking twice, calls to empty function would be optimized out, so yes, we don't need cpp magic at all.

-- 
Yann
Previous: Jonathan NiederNext: Yann Dirson
Message 6 of 15 in “Detection of directory renames”
  1. Detection of directory renamesYann Dirson, Oct 28, 2010
  2. 1/5 Introduce bulk-move detection in diffcore.Yann Dirson, Oct 28, 2010
  3. Jonathan NiederOct 29, 2010
  4. Yann DirsonOct 29, 2010
  5. Jonathan NiederOct 30, 2010
  6. Yann DirsonNov 4, 2010
  7. Introduce bulk-move detection in diffcore.Yann Dirson, Nov 4, 2010
  8. Ævar Arnfjörð BjarmasonNov 25, 2010
  9. Jonathan NiederNov 25, 2010
  10. Ævar Arnfjörð BjarmasonNov 25, 2010
  11. 2/5 Raw diff output format for bulk moves.Yann Dirson, Oct 28, 2010
  12. 3/5 Add testcases for the --detect-bulk-moves diffcore flag.Yann Dirson, Oct 28, 2010
  13. 4/5 Unified diff output format for bulk moves.Yann Dirson, Oct 28, 2010
  14. 5/5 [WIP] Allow hiding renames of individual files involved in a directory rename.Yann Dirson, Oct 28, 2010
  15. Jonathan NiederOct 29, 2010

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.