Skip to content

Commit 89e5aa3

Browse files
committed
Merge branch 'sb/filenames-with-dashes'
Rename bunch of source files to more consistently use dashes instead of underscores to connect words. * sb/filenames-with-dashes: replace_object.c: rename to use dash in file name sha1_file.c: rename to use dash in file name sha1_name.c: rename to use dash in file name exec_cmd: rename to use dash in file name unicode_width.h: rename to use dash in file name write_or_die.c: rename to use dashes in file name
2 parents 0264531 + 11bc058 commit 89e5aa3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+45
-45
lines changed

Documentation/technical/api-object-access.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
object access API
22
=================
33

4-
Talk about <sha1_file.c> and <object.h> family, things like
4+
Talk about <sha1-file.c> and <object.h> family, things like
55

66
* read_sha1_file()
77
* read_object_with_reference()

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ LIB_OBJS += ewah/bitmap.o
819819
LIB_OBJS += ewah/ewah_bitmap.o
820820
LIB_OBJS += ewah/ewah_io.o
821821
LIB_OBJS += ewah/ewah_rlw.o
822-
LIB_OBJS += exec_cmd.o
822+
LIB_OBJS += exec-cmd.o
823823
LIB_OBJS += fetch-object.o
824824
LIB_OBJS += fetch-pack.o
825825
LIB_OBJS += fsck.o
@@ -889,7 +889,7 @@ LIB_OBJS += refs/packed-backend.o
889889
LIB_OBJS += refs/ref-cache.o
890890
LIB_OBJS += ref-filter.o
891891
LIB_OBJS += remote.o
892-
LIB_OBJS += replace_object.o
892+
LIB_OBJS += replace-object.o
893893
LIB_OBJS += repository.o
894894
LIB_OBJS += rerere.o
895895
LIB_OBJS += resolve-undo.o
@@ -901,8 +901,8 @@ LIB_OBJS += server-info.o
901901
LIB_OBJS += setup.o
902902
LIB_OBJS += sha1-array.o
903903
LIB_OBJS += sha1-lookup.o
904-
LIB_OBJS += sha1_file.o
905-
LIB_OBJS += sha1_name.o
904+
LIB_OBJS += sha1-file.o
905+
LIB_OBJS += sha1-name.o
906906
LIB_OBJS += shallow.o
907907
LIB_OBJS += sideband.o
908908
LIB_OBJS += sigchain.o
@@ -937,7 +937,7 @@ LIB_OBJS += walker.o
937937
LIB_OBJS += wildmatch.o
938938
LIB_OBJS += worktree.o
939939
LIB_OBJS += wrapper.o
940-
LIB_OBJS += write_or_die.o
940+
LIB_OBJS += write-or-die.o
941941
LIB_OBJS += ws.o
942942
LIB_OBJS += wt-status.o
943943
LIB_OBJS += xdiff-interface.o
@@ -2156,8 +2156,8 @@ else
21562156
$(OBJECTS): $(LIB_H)
21572157
endif
21582158

2159-
exec_cmd.sp exec_cmd.s exec_cmd.o: GIT-PREFIX
2160-
exec_cmd.sp exec_cmd.s exec_cmd.o: EXTRA_CPPFLAGS = \
2159+
exec-cmd.sp exec-cmd.s exec-cmd.o: GIT-PREFIX
2160+
exec-cmd.sp exec-cmd.s exec-cmd.o: EXTRA_CPPFLAGS = \
21612161
'-DGIT_EXEC_PATH="$(gitexecdir_SQ)"' \
21622162
'-DBINDIR="$(bindir_relative_SQ)"' \
21632163
'-DPREFIX="$(prefix_SQ)"'

attr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#define NO_THE_INDEX_COMPATIBILITY_MACROS
1111
#include "cache.h"
1212
#include "config.h"
13-
#include "exec_cmd.h"
13+
#include "exec-cmd.h"
1414
#include "attr.h"
1515
#include "dir.h"
1616
#include "utf8.h"

builtin/add.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "lockfile.h"
1010
#include "dir.h"
1111
#include "pathspec.h"
12-
#include "exec_cmd.h"
12+
#include "exec-cmd.h"
1313
#include "cache-tree.h"
1414
#include "run-command.h"
1515
#include "parse-options.h"

builtin/am.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "cache.h"
77
#include "config.h"
88
#include "builtin.h"
9-
#include "exec_cmd.h"
9+
#include "exec-cmd.h"
1010
#include "parse-options.h"
1111
#include "dir.h"
1212
#include "run-command.h"

builtin/describe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "blob.h"
77
#include "refs.h"
88
#include "builtin.h"
9-
#include "exec_cmd.h"
9+
#include "exec-cmd.h"
1010
#include "parse-options.h"
1111
#include "revision.h"
1212
#include "diff.h"

builtin/difftool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "config.h"
1616
#include "builtin.h"
1717
#include "run-command.h"
18-
#include "exec_cmd.h"
18+
#include "exec-cmd.h"
1919
#include "parse-options.h"
2020
#include "argv-array.h"
2121
#include "strbuf.h"

builtin/hash-object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "blob.h"
1010
#include "quote.h"
1111
#include "parse-options.h"
12-
#include "exec_cmd.h"
12+
#include "exec-cmd.h"
1313

1414
/*
1515
* This is to create corrupt objects for debugging and as such it

builtin/help.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "cache.h"
55
#include "config.h"
66
#include "builtin.h"
7-
#include "exec_cmd.h"
7+
#include "exec-cmd.h"
88
#include "parse-options.h"
99
#include "run-command.h"
1010
#include "column.h"

builtin/index-pack.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "tree.h"
1010
#include "progress.h"
1111
#include "fsck.h"
12-
#include "exec_cmd.h"
12+
#include "exec-cmd.h"
1313
#include "streaming.h"
1414
#include "thread-utils.h"
1515
#include "packfile.h"
@@ -1593,7 +1593,7 @@ static void read_idx_option(struct pack_idx_option *opts, const char *pack_name)
15931593
/*
15941594
* Get rid of the idx file as we do not need it anymore.
15951595
* NEEDSWORK: extract this bit from free_pack_by_name() in
1596-
* sha1_file.c, perhaps? It shouldn't matter very much as we
1596+
* sha1-file.c, perhaps? It shouldn't matter very much as we
15971597
* know we haven't installed this pack (hence we never have
15981598
* read anything from it).
15991599
*/

0 commit comments

Comments
 (0)