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

Re: [PATCH v2] init-db: remove unused include

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 15, 2015, 19:11 UTC
Message-ID
<xmqqiog77tae.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1421322451-1852-1-git-send-email-kuleshovmail@gmail.com>
Alexander Kuleshov <kuleshovmail@gmail.com> writes:
> "cache.h" removed, because it's already included at "builtin.h"
>
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
> ---
Let's put this on hold.
$ git grep --all-match -l -e cache\\.h -e builtin\\.h -- \*.c
shows us there are tons, not just this one.
Also I'd like to see this discussion simmer a bit more:
  http://thread.gmane.org/gmane.comp.version-control.git/262454/focus=262499
Show 15 quoted lines
>  builtin/init-db.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/builtin/init-db.c b/builtin/init-db.c
> index 280454a..8edef87 100644
> --- a/builtin/init-db.c
> +++ b/builtin/init-db.c
> @@ -3,7 +3,6 @@
>   *
>   * Copyright (C) Linus Torvalds, 2005
>   */
> -#include "cache.h"
>  #include "builtin.h"
>  #include "exec_cmd.h"
>  #include "parse-options.h"
Previous: Alexander Kuleshov
Message 2 of 2 in “init-db: remove unused include”
  1. init-db: remove unused includeAlexander Kuleshov, Jan 15, 2015
  2. Junio C HamanoJan 15, 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.