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

Re: [PATCH] xdiff: rename "struct group" to "struct xdlgroup"

From
Jeff King <peff@peff.net>
Date
Sep 27, 2016, 19:21 UTC
Message-ID
<20160927192147.k2borko6ryxfx2gf@sigill.intra.peff.net>
In-Reply-To
<9fb14a41-00b3-f8d1-d8d2-8aa41261492e@alum.mit.edu>
On Tue, Sep 27, 2016 at 03:18:02PM +0200, Michael Haggerty wrote:
Show 9 quoted lines
> > Let's resolve by giving the xdiff variant a scoped name,
> > which is closer to other xdiff types anyway (e.g.,
> > xdlfile_t, though note that xdiff is fond if typedefs when
> > Git usually is not).
> 
> Makes sense to me. I didn't try to adhere to xdiff conventions too
> tightly because I don't think that project is alive anymore, so I don't
> expect we'll be upstreaming anything [1]. But this change definitely
> makes sense.

Yeah, TBH I don't really care about following xdiff coding conventions. They're pretty far from our own, and at this point I think xdiff is basically just an imported part of our code base. Mostly my rationale was that it's not too terribly out of place to give it an "xdl" name, and it happens to solve my other problem, too. :)

> [1] Though I've since learned that libgit2 also bases their diff code on
> xdiff, so if we avoid changing things gratuitously there is more chance
> that our two projects can benefit from each other's improvements
> whenever they are also licensed compatibly.
I'd agree on not changing things gratuitously.
-Peff
Previous: Michael HaggertyNext: Stefan Beller
Message 3 of 4 in “xdiff: rename "struct group" to "struct xdlgroup"”
  1. xdiff: rename "struct group" to "struct xdlgroup"Jeff King, Sep 27, 2016
  2. Michael HaggertySep 27, 2016
  3. Jeff KingSep 27, 2016
  4. Stefan BellerSep 27, 2016

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.