Browse Source

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>
maint
Stefan Beller 7 years ago committed by Junio C Hamano
parent
commit
d807c4a01d
  1. 6
      Makefile
  2. 2
      attr.c
  3. 2
      builtin/add.c
  4. 2
      builtin/am.c
  5. 2
      builtin/describe.c
  6. 2
      builtin/difftool.c
  7. 2
      builtin/hash-object.c
  8. 2
      builtin/help.c
  9. 2
      builtin/index-pack.c
  10. 2
      builtin/init-db.c
  11. 2
      builtin/merge-tree.c
  12. 2
      builtin/notes.c
  13. 2
      builtin/pull.c
  14. 2
      builtin/receive-pack.c
  15. 2
      common-main.c
  16. 2
      config.c
  17. 2
      exec-cmd.c
  18. 0
      exec-cmd.h
  19. 2
      fetch-pack.c
  20. 2
      git.c
  21. 2
      help.c
  22. 2
      http-backend.c
  23. 2
      http-fetch.c
  24. 2
      http-push.c
  25. 2
      imap-send.c
  26. 2
      remote-curl.c
  27. 2
      remote-testsvn.c
  28. 2
      run-command.c
  29. 2
      sequencer.c
  30. 2
      shell.c
  31. 2
      upload-pack.c

6
Makefile

@ -818,7 +818,7 @@ LIB_OBJS += ewah/bitmap.o @@ -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
@ -2155,8 +2155,8 @@ else @@ -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)"'

2
attr.c

@ -10,7 +10,7 @@ @@ -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"

2
builtin/add.c

@ -9,7 +9,7 @@ @@ -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"

2
builtin/am.c

@ -6,7 +6,7 @@ @@ -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"

2
builtin/describe.c

@ -6,7 +6,7 @@ @@ -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"

2
builtin/difftool.c

@ -15,7 +15,7 @@ @@ -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"

2
builtin/hash-object.c

@ -9,7 +9,7 @@ @@ -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

2
builtin/help.c

@ -4,7 +4,7 @@ @@ -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"

2
builtin/index-pack.c

@ -9,7 +9,7 @@ @@ -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"

2
builtin/init-db.c

@ -7,7 +7,7 @@ @@ -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

2
builtin/merge-tree.c

@ -2,7 +2,7 @@ @@ -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>";

2
builtin/notes.c

@ -14,7 +14,7 @@ @@ -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"

2
builtin/pull.c

@ -9,7 +9,7 @@ @@ -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"

2
builtin/receive-pack.c

@ -7,7 +7,7 @@ @@ -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"

2
common-main.c

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#include "cache.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "attr.h"

/*

2
config.c

@ -9,7 +9,7 @@ @@ -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"

2
exec_cmd.c → exec-cmd.c

@ -1,5 +1,5 @@ @@ -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

0
exec_cmd.h → exec-cmd.h

2
fetch-pack.c

@ -6,7 +6,7 @@ @@ -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"

2
git.c

@ -1,6 +1,6 @@ @@ -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"


2
help.c

@ -1,7 +1,7 @@ @@ -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"

2
http-backend.c

@ -5,7 +5,7 @@ @@ -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"

2
http-fetch.c

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#include "cache.h"
#include "config.h"
#include "exec_cmd.h"
#include "exec-cmd.h"
#include "http.h"
#include "walker.h"


2
http-push.c

@ -6,7 +6,7 @@ @@ -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"

2
imap-send.c

@ -24,7 +24,7 @@ @@ -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

2
remote-curl.c

@ -4,7 +4,7 @@ @@ -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"

2
remote-testsvn.c

@ -3,7 +3,7 @@ @@ -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"

2
run-command.c

@ -1,6 +1,6 @@ @@ -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"

2
sequencer.c

@ -7,7 +7,7 @@ @@ -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"

2
shell.c

@ -1,6 +1,6 @@ @@ -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"


2
upload-pack.c

@ -6,7 +6,7 @@ @@ -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"

Loading…
Cancel
Save