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

[PATCH] show-diff.c: do not include unused header file

From
Junio C Hamano <junkio@cox.net>
Date
Apr 17, 2005, 05:39 UTC
Message-ID
<7vvf6m0xni.fsf@assigned-by-dhcp.cox.net>

This is my bad. I added #include <ctype.h> to the file, which I ended up not using and failed to remove it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---

show-diff.c: d85d79b97a59342390bd34da09049dd58d56900f --- show-diff.c +++ show-diff.c 2005-04-16 22:37:29.000000000 -0700

@@ -4,7 +4,6 @@
  * Copyright (C) Linus Torvalds, 2005
  */
 #include "cache.h"
-#include <ctype.h>
 
 static char *diff_cmd = "diff -L '%s' -u -N  - '%s'";
Message 1 of 1 in “show-diff.c: do not include unused header file”
  1. show-diff.c: do not include unused header fileJunio C Hamano, Apr 17, 2005

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.