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

Re: What's cooking in git.git (Jun 2018, #05; Mon, 18)

From
Stefan Beller <sbeller@google.com>
Date
Jun 18, 2018, 23:16 UTC
Message-ID
<CAGZ79kYjHUGfgSx+Whih1sWF5U8NLUzXUzimLQfFzqFoc20eUA@mail.gmail.com>
In-Reply-To
<xmqqsh5jwzp3.fsf@gitster-ct.c.googlers.com>
Hi Jacob,
Show 15 quoted lines
> * sb/diff-color-move-more (2018-05-21) 8 commits
>   (merged to 'next' on 2018-05-24 at 45f3fb7975)
>  + diff: color-moved white space handling options imply color-moved
>  + diff.c: add --color-moved-ignore-space-delta option
>  + diff.c: decouple white space treatment from move detection algorithm
>  + diff.c: add a blocks mode for moved code detection
>  + diff.c: adjust hash function signature to match hashmap expectation
>  + diff.c: do not pass diff options as keydata to hashmap
>  + xdiff/xdiffi.c: remove unneeded function declarations
>  + xdiff/xdiff.h: remove unused flags
>
>  "git diff --color-moved" feature has further been tweaked.
>
>  Will kick back to 'pu'.
>  cf. <CAGZ79kag9m02xtJKg05aPE4Grq2wBWSmUr3JdwfyHsMawR7m5Q@mail.gmail.com>
FYI: I have this series still cooking internally, but it is not ready again
for prime time, as I still need to debug a corner case.

The code found at [1] is improved over this series here as the options for detecting moved code and its coloring are decoupled; having more tests.

I just had not enough time to resend this one.
[1] https://github.com/stefanbeller/git/tree/color-moved-only

Thanks, Stefan

Previous: Todd ZullingerNext: Jonathan Tan
Message 3 of 5 in “What's cooking in git.git (Jun 2018, #05; Mon, 18)”
  1. Junio C HamanoJun 18, 2018
  2. Todd ZullingerJun 18, 2018
  3. Stefan BellerJun 18, 2018
  4. Jonathan TanJun 19, 2018
  5. Junio C HamanoJun 20, 2018

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.