Skip to content

Commit

Permalink
treewide: remove cache.h inclusion due to object-file.h changes
Browse files Browse the repository at this point in the history
Signed-off-by: Elijah Newren <[email protected]>
Acked-by: Calvin Wan <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
newren authored and gitster committed Apr 11, 2023
1 parent 87bed17 commit b6fdc44
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bulk-checkin.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2011, Google Inc.
*/
#include "cache.h"
#include "git-compat-util.h"
#include "alloc.h"
#include "bulk-checkin.h"
#include "environment.h"
Expand Down
2 changes: 1 addition & 1 deletion commit-graph.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cache.h"
#include "git-compat-util.h"
#include "config.h"
#include "gettext.h"
#include "hex.h"
Expand Down
2 changes: 1 addition & 1 deletion http-fetch.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cache.h"
#include "git-compat-util.h"
#include "config.h"
#include "exec-cmd.h"
#include "gettext.h"
Expand Down
2 changes: 1 addition & 1 deletion http-walker.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cache.h"
#include "git-compat-util.h"
#include "repository.h"
#include "commit.h"
#include "hex.h"
Expand Down
1 change: 0 additions & 1 deletion http.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

struct packed_git;

#include "cache.h"
#include "git-zlib.h"

#include <curl/curl.h>
Expand Down
2 changes: 1 addition & 1 deletion notes-merge.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cache.h"
#include "git-compat-util.h"
#include "advice.h"
#include "commit.h"
#include "gettext.h"
Expand Down
2 changes: 1 addition & 1 deletion pack-bitmap.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cache.h"
#include "git-compat-util.h"
#include "alloc.h"
#include "commit.h"
#include "gettext.h"
Expand Down
2 changes: 1 addition & 1 deletion pack-check.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cache.h"
#include "git-compat-util.h"
#include "environment.h"
#include "hex.h"
#include "repository.h"
Expand Down
2 changes: 1 addition & 1 deletion pack-mtimes.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cache.h"
#include "git-compat-util.h"
#include "gettext.h"
#include "pack-mtimes.h"
#include "object-file.h"
Expand Down
2 changes: 1 addition & 1 deletion pack-revindex.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cache.h"
#include "git-compat-util.h"
#include "gettext.h"
#include "pack-revindex.h"
#include "object-file.h"
Expand Down
2 changes: 1 addition & 1 deletion streaming.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2011, Google Inc.
*/
#include "cache.h"
#include "git-compat-util.h"
#include "convert.h"
#include "environment.h"
#include "streaming.h"
Expand Down
2 changes: 1 addition & 1 deletion tmp-objdir.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cache.h"
#include "git-compat-util.h"
#include "tmp-objdir.h"
#include "abspath.h"
#include "chdir-notify.h"
Expand Down

0 comments on commit b6fdc44

Please sign in to comment.