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

[PATCH 4/5] read-cache: remove unused #include "sigchain.h"

From
Tobias Klauser <tklauser@distanz.ch>
Date
Oct 22, 2015, 12:43 UTC
Message-ID
<1445517810-13998-5-git-send-email-tklauser@distanz.ch>
In-Reply-To
<1445517810-13998-1-git-send-email-tklauser@distanz.ch>

After switching to use the tempfile module in commit f6ecc62d (write_shared_index(): use tempfile module), no declarations from sigchain.h are used in read-cache.c anymore. Thus, remove the #include.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 read-cache.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/read-cache.c b/read-cache.c
index 87204a5..3ecb99d 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -17,7 +17,6 @@
 #include "strbuf.h"
 #include "varint.h"
 #include "split-index.h"
-#include "sigchain.h"
 #include "utf8.h"
 
 static struct cache_entry *refresh_cache_entry(struct cache_entry *ce,
-- 
2.6.1.148.g7927db1
Previous: Tobias KlauserNext: Tobias Klauser
Message 8 of 11 in “Remove unused #include "sigchain.h"”
  1. 0/5 Remove unused #include "sigchain.h"Tobias Klauser, Oct 22, 2015
  2. 1/5 gc: remove unused #include "sigchain.h"Tobias Klauser, Oct 22, 2015
  3. Junio C HamanoOct 22, 2015
  4. Tobias KlauserOct 23, 2015
  5. Junio C HamanoOct 23, 2015
  6. 2/5 credential-cache--daemon: remove unused #include "sigchain.h"Tobias Klauser, Oct 22, 2015
  7. 3/5 diff: remove unused #include "sigchain.h"Tobias Klauser, Oct 22, 2015
  8. 4/5 read-cache: remove unused #include "sigchain.h"Tobias Klauser, Oct 22, 2015
  9. 5/5 shallow: remove unused #include "sigchain.h"Tobias Klauser, Oct 22, 2015
  10. Junio C HamanoOct 22, 2015
  11. Michael HaggertyOct 26, 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.