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

Problems with 592fc5b349

From
Alejandro R. Sedeño <asedeno@mit.edu>
Date
Jun 1, 2023, 13:47 UTC
Message-ID
<CAOO-Oz2ua31xDOA9hdE-mMx3qwctDHK6Tu6AKdGc1_beuJMkwA@mail.gmail.com>
592fc5b3495bf4ff17252d31109f1d9c0134684b moved backup definitions of
  #define DT_

from cache.h to dir.h, but did not include dir.h in cache.h despite those #defines being used there. Easy fix, `#include "dir.h"` in cache.h, which I'd submit as a patch, but then name-hash.c, which includes cache.h, which would now include dir.h, ends up with two definitions of `struct dir_entry`.

Suggestions?
-Alejandro
Next: Elijah Newren
Message 1 of 3 in “Problems with 592fc5b349”
  1. Alejandro R. SedeñoJun 1, 2023
  2. Elijah NewrenJun 1, 2023
  3. Alejandro R. SedeñoJun 1, 2023

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.