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

GNU diff and git diff - difference on myers algorithm?

From
LRLuis R. Rodriguez <mcgrof@do-not-panic.com>
Date
Jun 8, 2015, 18:34 UTC
Message-ID
<CAB=NE6XRnKAY6t+dxT7vO_4wqngXvULh-CqezEAs2r99FkNCTg@mail.gmail.com>

Based on a cursory review of the git code I get the impression that GNU diff and git 'diff' do not share any code for the possible diff algorithms. I'm in particularly curious more about the default "myers" algorithm. I can take time to do a precise code review of the algorithms used on both GNU diff and git but if someone can already vet for any differences that'd be appreciated as it would save time.

 Luis
Next: Johannes Schindelin
Message 1 of 6 in “GNU diff and git diff - difference on myers algorithm?”
  1. Luis R. RodriguezJun 8, 2015
  2. Johannes SchindelinJun 9, 2015
  3. Luis R. RodriguezJun 12, 2015
  4. Luis R. RodriguezJul 16, 2015
  5. Jacob KellerJul 17, 2015
  6. Jacob KellerJul 17, 2015

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.