exec_cmd: rename to use dash in file name
This is more consistent with the project style. The majority of Git's source files use dashes in preference to underscores in their file names. Signed-off-by: Stefan Beller <sbeller@google.com>
Stefan Beller committed
Apr 10, 2018 at 14:26 UTC
d807c4a01db2b06db047fc6d5d18ac25c8f05bd7
31 files changed
+32
-32
Makefile
+3
-3
@@ -818,7 +818,7 @@ LIB_OBJS += ewah/bitmap.o
818
LIB_OBJS += ewah/ewah_bitmap.o
819
LIB_OBJS += ewah/ewah_io.o
820
LIB_OBJS += ewah/ewah_rlw.o
821
-LIB_OBJS += exec_cmd.o
821
+LIB_OBJS += exec-cmd.o
822
LIB_OBJS += fetch-object.o
823
LIB_OBJS += fetch-pack.o
824
LIB_OBJS += fsck.o
@@ -2155,8 +2155,8 @@ else
2155
$(OBJECTS): $(LIB_H)
2156
endif
2157
2158
-exec_cmd.sp exec_cmd.s exec_cmd.o: GIT-PREFIX
2159
-exec_cmd.sp exec_cmd.s exec_cmd.o: EXTRA_CPPFLAGS = \
2158
+exec-cmd.sp exec-cmd.s exec-cmd.o: GIT-PREFIX
2159
+exec-cmd.sp exec-cmd.s exec-cmd.o: EXTRA_CPPFLAGS = \
2160
'-DGIT_EXEC_PATH="$(gitexecdir_SQ)"' \
2161
'-DBINDIR="$(bindir_relative_SQ)"' \
2162
'-DPREFIX="$(prefix_SQ)"'
attr.c
+1
-1
@@ -10,7 +10,7 @@
10
#define NO_THE_INDEX_COMPATIBILITY_MACROS
11
#include "cache.h"
12
#include "config.h"
13
-#include "exec_cmd.h"
13
+#include "exec-cmd.h"
14
#include "attr.h"
15
#include "dir.h"
16
#include "utf8.h"
builtin/add.c
+1
-1
@@ -9,7 +9,7 @@
9
#include "lockfile.h"
10
#include "dir.h"
11
#include "pathspec.h"
12
-#include "exec_cmd.h"
12
+#include "exec-cmd.h"
13
#include "cache-tree.h"
14
#include "run-command.h"
15
#include "parse-options.h"
builtin/am.c
+1
-1
@@ -6,7 +6,7 @@
6
#include "cache.h"
7
#include "config.h"
8
#include "builtin.h"
9
-#include "exec_cmd.h"
9
+#include "exec-cmd.h"
10
#include "parse-options.h"
11
#include "dir.h"
12
#include "run-command.h"
builtin/describe.c
+1
-1
@@ -6,7 +6,7 @@
6
#include "blob.h"
7
#include "refs.h"
8
#include "builtin.h"
9
-#include "exec_cmd.h"
9
+#include "exec-cmd.h"
10
#include "parse-options.h"
11
#include "revision.h"
12
#include "diff.h"
builtin/difftool.c
+1
-1
@@ -15,7 +15,7 @@
15
#include "config.h"
16
#include "builtin.h"
17
#include "run-command.h"
18
-#include "exec_cmd.h"
18
+#include "exec-cmd.h"
19
#include "parse-options.h"
20
#include "argv-array.h"
21
#include "strbuf.h"
builtin/hash-object.c
+1
-1
@@ -9,7 +9,7 @@
9
#include "blob.h"
10
#include "quote.h"
11
#include "parse-options.h"
12
-#include "exec_cmd.h"
12
+#include "exec-cmd.h"
13
14
/*
15
* This is to create corrupt objects for debugging and as such it
builtin/help.c
+1
-1
@@ -4,7 +4,7 @@
4
#include "cache.h"
5
#include "config.h"
6
#include "builtin.h"
7
-#include "exec_cmd.h"
7
+#include "exec-cmd.h"
8
#include "parse-options.h"
9
#include "run-command.h"
10
#include "column.h"
builtin/index-pack.c
+1
-1
@@ -9,7 +9,7 @@
9
#include "tree.h"
10
#include "progress.h"
11
#include "fsck.h"
12
-#include "exec_cmd.h"
12
+#include "exec-cmd.h"
13
#include "streaming.h"
14
#include "thread-utils.h"
15
#include "packfile.h"
builtin/init-db.c
+1
-1
@@ -7,7 +7,7 @@
7
#include "config.h"
8
#include "refs.h"
9
#include "builtin.h"
10
-#include "exec_cmd.h"
10
+#include "exec-cmd.h"
11
#include "parse-options.h"
12
13
#ifndef DEFAULT_GIT_TEMPLATE_DIR
builtin/merge-tree.c
+1
-1
@@ -2,7 +2,7 @@
2
#include "tree-walk.h"
3
#include "xdiff-interface.h"
4
#include "blob.h"
5
-#include "exec_cmd.h"
5
+#include "exec-cmd.h"
6
#include "merge-blobs.h"
7
8
static const char merge_tree_usage[] = "git merge-tree <base-tree> <branch1> <branch2>";
builtin/notes.c
+1
-1
@@ -14,7 +14,7 @@
14
#include "blob.h"
15
#include "pretty.h"
16
#include "refs.h"
17
-#include "exec_cmd.h"
17
+#include "exec-cmd.h"
18
#include "run-command.h"
19
#include "parse-options.h"
20
#include "string-list.h"
builtin/pull.c
+1
-1
@@ -9,7 +9,7 @@
9
#include "config.h"
10
#include "builtin.h"
11
#include "parse-options.h"
12
-#include "exec_cmd.h"
12
+#include "exec-cmd.h"
13
#include "run-command.h"
14
#include "sha1-array.h"
15
#include "remote.h"
builtin/receive-pack.c
+1
-1
@@ -7,7 +7,7 @@
7
#include "pkt-line.h"
8
#include "sideband.h"
9
#include "run-command.h"
10
-#include "exec_cmd.h"
10
+#include "exec-cmd.h"
11
#include "commit.h"
12
#include "object.h"
13
#include "remote.h"
common-main.c
+1
-1
@@ -1,5 +1,5 @@
1
#include "cache.h"
2
-#include "exec_cmd.h"
2
+#include "exec-cmd.h"
3
#include "attr.h"
4
5
/*
config.c
+1
-1
@@ -9,7 +9,7 @@
9
#include "config.h"
10
#include "repository.h"
11
#include "lockfile.h"
12
-#include "exec_cmd.h"
12
+#include "exec-cmd.h"
13
#include "strbuf.h"
14
#include "quote.h"
15
#include "hashmap.h"
exec-cmd.c
renamed
+1
-1
@@ -1,5 +1,5 @@
1
#include "cache.h"
2
-#include "exec_cmd.h"
2
+#include "exec-cmd.h"
3
#include "quote.h"
4
#include "argv-array.h"
5
#define MAX_ARGS 32
exec-cmd.h
renamed
fetch-pack.c
+1
-1
@@ -6,7 +6,7 @@
6
#include "pkt-line.h"
7
#include "commit.h"
8
#include "tag.h"
9
-#include "exec_cmd.h"
9
+#include "exec-cmd.h"
10
#include "pack.h"
11
#include "sideband.h"
12
#include "fetch-pack.h"
git.c
+1
-1
@@ -1,6 +1,6 @@
1
#include "builtin.h"
2
#include "config.h"
3
-#include "exec_cmd.h"
3
+#include "exec-cmd.h"
4
#include "help.h"
5
#include "run-command.h"
6
help.c
+1
-1
@@ -1,7 +1,7 @@
1
#include "cache.h"
2
#include "config.h"
3
#include "builtin.h"
4
-#include "exec_cmd.h"
4
+#include "exec-cmd.h"
5
#include "run-command.h"
6
#include "levenshtein.h"
7
#include "help.h"
http-backend.c
+1
-1
@@ -5,7 +5,7 @@
5
#include "pkt-line.h"
6
#include "object.h"
7
#include "tag.h"
8
-#include "exec_cmd.h"
8
+#include "exec-cmd.h"
9
#include "run-command.h"
10
#include "string-list.h"
11
#include "url.h"
http-fetch.c
+1
-1
@@ -1,6 +1,6 @@
1
#include "cache.h"
2
#include "config.h"
3
-#include "exec_cmd.h"
3
+#include "exec-cmd.h"
4
#include "http.h"
5
#include "walker.h"
6
http-push.c
+1
-1
@@ -6,7 +6,7 @@
6
#include "refs.h"
7
#include "diff.h"
8
#include "revision.h"
9
-#include "exec_cmd.h"
9
+#include "exec-cmd.h"
10
#include "remote.h"
11
#include "list-objects.h"
12
#include "sigchain.h"
imap-send.c
+1
-1
@@ -24,7 +24,7 @@
24
#include "cache.h"
25
#include "config.h"
26
#include "credential.h"
27
-#include "exec_cmd.h"
27
+#include "exec-cmd.h"
28
#include "run-command.h"
29
#include "parse-options.h"
30
#ifdef NO_OPENSSL
remote-curl.c
+1
-1
@@ -4,7 +4,7 @@
4
#include "strbuf.h"
5
#include "walker.h"
6
#include "http.h"
7
-#include "exec_cmd.h"
7
+#include "exec-cmd.h"
8
#include "run-command.h"
9
#include "pkt-line.h"
10
#include "string-list.h"
remote-testsvn.c
+1
-1
@@ -3,7 +3,7 @@
3
#include "remote.h"
4
#include "strbuf.h"
5
#include "url.h"
6
-#include "exec_cmd.h"
6
+#include "exec-cmd.h"
7
#include "run-command.h"
8
#include "vcs-svn/svndump.h"
9
#include "notes.h"
run-command.c
+1
-1
@@ -1,6 +1,6 @@
1
#include "cache.h"
2
#include "run-command.h"
3
-#include "exec_cmd.h"
3
+#include "exec-cmd.h"
4
#include "sigchain.h"
5
#include "argv-array.h"
6
#include "thread-utils.h"
sequencer.c
+1
-1
@@ -7,7 +7,7 @@
7
#include "sequencer.h"
8
#include "tag.h"
9
#include "run-command.h"
10
-#include "exec_cmd.h"
10
+#include "exec-cmd.h"
11
#include "utf8.h"
12
#include "cache-tree.h"
13
#include "diff.h"
shell.c
+1
-1
@@ -1,6 +1,6 @@
1
#include "cache.h"
2
#include "quote.h"
3
-#include "exec_cmd.h"
3
+#include "exec-cmd.h"
4
#include "strbuf.h"
5
#include "run-command.h"
6
upload-pack.c
+1
-1
@@ -6,7 +6,7 @@
6
#include "tag.h"
7
#include "object.h"
8
#include "commit.h"
9
-#include "exec_cmd.h"
9
+#include "exec-cmd.h"
10
#include "diff.h"
11
#include "revision.h"
12
#include "list-objects.h"