Skip to content

Commit

Permalink
exec_cmd: rename to use dash in file name
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
stefanbeller authored and gitster committed Apr 11, 2018
1 parent e233bef commit d807c4a
Show file tree
Hide file tree
Showing 31 changed files with 32 additions and 32 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ LIB_OBJS += ewah/bitmap.o
LIB_OBJS += ewah/ewah_bitmap.o
LIB_OBJS += ewah/ewah_io.o
LIB_OBJS += ewah/ewah_rlw.o
LIB_OBJS += exec_cmd.o
LIB_OBJS += exec-cmd.o
LIB_OBJS += fetch-object.o
LIB_OBJS += fetch-pack.o
LIB_OBJS += fsck.o
Expand Down Expand Up @@ -2155,8 +2155,8 @@ else
$(OBJECTS): $(LIB_H)
endif

exec_cmd.sp exec_cmd.s exec_cmd.o: GIT-PREFIX
exec_cmd.sp exec_cmd.s exec_cmd.o: EXTRA_CPPFLAGS = \
exec-cmd.sp exec-cmd.s exec-cmd.o: GIT-PREFIX
exec-cmd.sp exec-cmd.s exec-cmd.o: EXTRA_CPPFLAGS = \
'-DGIT_EXEC_PATH="$(gitexecdir_SQ)"' \
'-DBINDIR="$(bindir_relative_SQ)"' \
'-DPREFIX="$(prefix_SQ)"'
Expand Down
2 changes: 1 addition & 1 deletion attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define NO_THE_INDEX_COMPATIBILITY_MACROS
#include "cache.h"
#include "config.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "attr.h"
#include "dir.h"
#include "utf8.h"
Expand Down
2 changes: 1 addition & 1 deletion builtin/add.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "lockfile.h"
#include "dir.h"
#include "pathspec.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "cache-tree.h"
#include "run-command.h"
#include "parse-options.h"
Expand Down
2 changes: 1 addition & 1 deletion builtin/am.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "parse-options.h"
#include "dir.h"
#include "run-command.h"
Expand Down
2 changes: 1 addition & 1 deletion builtin/describe.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "blob.h"
#include "refs.h"
#include "builtin.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "parse-options.h"
#include "revision.h"
#include "diff.h"
Expand Down
2 changes: 1 addition & 1 deletion builtin/difftool.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "config.h"
#include "builtin.h"
#include "run-command.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "parse-options.h"
#include "argv-array.h"
#include "strbuf.h"
Expand Down
2 changes: 1 addition & 1 deletion builtin/hash-object.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "blob.h"
#include "quote.h"
#include "parse-options.h"
#include "exec_cmd.h"
#include "exec-cmd.h"

/*
* This is to create corrupt objects for debugging and as such it
Expand Down
2 changes: 1 addition & 1 deletion builtin/help.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "parse-options.h"
#include "run-command.h"
#include "column.h"
Expand Down
2 changes: 1 addition & 1 deletion builtin/index-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "tree.h"
#include "progress.h"
#include "fsck.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "streaming.h"
#include "thread-utils.h"
#include "packfile.h"
Expand Down
2 changes: 1 addition & 1 deletion builtin/init-db.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "config.h"
#include "refs.h"
#include "builtin.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "parse-options.h"

#ifndef DEFAULT_GIT_TEMPLATE_DIR
Expand Down
2 changes: 1 addition & 1 deletion builtin/merge-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "tree-walk.h"
#include "xdiff-interface.h"
#include "blob.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "merge-blobs.h"

static const char merge_tree_usage[] = "git merge-tree <base-tree> <branch1> <branch2>";
Expand Down
2 changes: 1 addition & 1 deletion builtin/notes.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "blob.h"
#include "pretty.h"
#include "refs.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "run-command.h"
#include "parse-options.h"
#include "string-list.h"
Expand Down
2 changes: 1 addition & 1 deletion builtin/pull.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "config.h"
#include "builtin.h"
#include "parse-options.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "run-command.h"
#include "sha1-array.h"
#include "remote.h"
Expand Down
2 changes: 1 addition & 1 deletion builtin/receive-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "pkt-line.h"
#include "sideband.h"
#include "run-command.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "commit.h"
#include "object.h"
#include "remote.h"
Expand Down
2 changes: 1 addition & 1 deletion common-main.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "cache.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "attr.h"

/*
Expand Down
2 changes: 1 addition & 1 deletion config.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "config.h"
#include "repository.h"
#include "lockfile.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "strbuf.h"
#include "quote.h"
#include "hashmap.h"
Expand Down
2 changes: 1 addition & 1 deletion exec_cmd.c → exec-cmd.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "cache.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "quote.h"
#include "argv-array.h"
#define MAX_ARGS 32
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion fetch-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "pkt-line.h"
#include "commit.h"
#include "tag.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "pack.h"
#include "sideband.h"
#include "fetch-pack.h"
Expand Down
2 changes: 1 addition & 1 deletion git.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "builtin.h"
#include "config.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "help.h"
#include "run-command.h"

Expand Down
2 changes: 1 addition & 1 deletion help.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "run-command.h"
#include "levenshtein.h"
#include "help.h"
Expand Down
2 changes: 1 addition & 1 deletion http-backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "pkt-line.h"
#include "object.h"
#include "tag.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "run-command.h"
#include "string-list.h"
#include "url.h"
Expand Down
2 changes: 1 addition & 1 deletion http-fetch.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "cache.h"
#include "config.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "http.h"
#include "walker.h"

Expand Down
2 changes: 1 addition & 1 deletion http-push.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "refs.h"
#include "diff.h"
#include "revision.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "remote.h"
#include "list-objects.h"
#include "sigchain.h"
Expand Down
2 changes: 1 addition & 1 deletion imap-send.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "cache.h"
#include "config.h"
#include "credential.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "run-command.h"
#include "parse-options.h"
#ifdef NO_OPENSSL
Expand Down
2 changes: 1 addition & 1 deletion remote-curl.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "strbuf.h"
#include "walker.h"
#include "http.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "run-command.h"
#include "pkt-line.h"
#include "string-list.h"
Expand Down
2 changes: 1 addition & 1 deletion remote-testsvn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "remote.h"
#include "strbuf.h"
#include "url.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "run-command.h"
#include "vcs-svn/svndump.h"
#include "notes.h"
Expand Down
2 changes: 1 addition & 1 deletion run-command.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "cache.h"
#include "run-command.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "sigchain.h"
#include "argv-array.h"
#include "thread-utils.h"
Expand Down
2 changes: 1 addition & 1 deletion sequencer.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "sequencer.h"
#include "tag.h"
#include "run-command.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "utf8.h"
#include "cache-tree.h"
#include "diff.h"
Expand Down
2 changes: 1 addition & 1 deletion shell.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "cache.h"
#include "quote.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "strbuf.h"
#include "run-command.h"

Expand Down
2 changes: 1 addition & 1 deletion upload-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "tag.h"
#include "object.h"
#include "commit.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "diff.h"
#include "revision.h"
#include "list-objects.h"
Expand Down

0 comments on commit d807c4a

Please sign in to comment.