Skip to content

Commit

Permalink
treewide: be explicit about dependence on convert.h
Browse files Browse the repository at this point in the history
Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
newren authored and gitster committed Apr 11, 2023
1 parent 6c6ddf9 commit 73359a9
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions archive.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "abspath.h"
#include "alloc.h"
#include "config.h"
#include "convert.h"
#include "environment.h"
#include "gettext.h"
#include "hex.h"
Expand Down
1 change: 1 addition & 0 deletions blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "object-store.h"
#include "cache-tree.h"
#include "mergesort.h"
#include "convert.h"
#include "diff.h"
#include "diffcore.h"
#include "gettext.h"
Expand Down
1 change: 1 addition & 0 deletions builtin/cat-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "cache.h"
#include "alloc.h"
#include "config.h"
#include "convert.h"
#include "builtin.h"
#include "diff.h"
#include "environment.h"
Expand Down
1 change: 1 addition & 0 deletions builtin/ls-files.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "cache.h"
#include "repository.h"
#include "config.h"
#include "convert.h"
#include "quote.h"
#include "dir.h"
#include "builtin.h"
Expand Down
1 change: 0 additions & 1 deletion cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "hashmap.h"
#include "list.h"
#include "gettext.h"
#include "convert.h"
#include "string-list.h"
#include "pack-revindex.h"
#include "hash.h"
Expand Down
1 change: 1 addition & 0 deletions combine-diff.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "cache.h"
#include "object-store.h"
#include "commit.h"
#include "convert.h"
#include "blob.h"
#include "diff.h"
#include "diffcore.h"
Expand Down
1 change: 1 addition & 0 deletions config.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "date.h"
#include "branch.h"
#include "config.h"
#include "convert.h"
#include "environment.h"
#include "gettext.h"
#include "ident.h"
Expand Down
1 change: 1 addition & 0 deletions convert.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "cache.h"
#include "advice.h"
#include "config.h"
#include "convert.h"
#include "gettext.h"
#include "hex.h"
#include "object-store.h"
Expand Down
1 change: 1 addition & 0 deletions diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "abspath.h"
#include "alloc.h"
#include "config.h"
#include "convert.h"
#include "environment.h"
#include "gettext.h"
#include "tempfile.h"
Expand Down
1 change: 1 addition & 0 deletions dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "abspath.h"
#include "alloc.h"
#include "config.h"
#include "convert.h"
#include "dir.h"
#include "environment.h"
#include "gettext.h"
Expand Down
1 change: 1 addition & 0 deletions environment.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "cache.h"
#include "abspath.h"
#include "branch.h"
#include "convert.h"
#include "environment.h"
#include "gettext.h"
#include "repository.h"
Expand Down
1 change: 1 addition & 0 deletions ll-merge.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include "cache.h"
#include "config.h"
#include "convert.h"
#include "attr.h"
#include "xdiff-interface.h"
#include "run-command.h"
Expand Down
1 change: 1 addition & 0 deletions object-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "abspath.h"
#include "alloc.h"
#include "config.h"
#include "convert.h"
#include "environment.h"
#include "gettext.h"
#include "hex.h"
Expand Down
1 change: 1 addition & 0 deletions streaming.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Copyright (c) 2011, Google Inc.
*/
#include "cache.h"
#include "convert.h"
#include "environment.h"
#include "streaming.h"
#include "repository.h"
Expand Down
1 change: 1 addition & 0 deletions unpack-trees.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define UNPACK_TREES_H

#include "cache.h"
#include "convert.h"
#include "strvec.h"
#include "string-list.h"
#include "tree-walk.h"
Expand Down

0 comments on commit 73359a9

Please sign in to comment.