Skip to content

Commit fc1395f

Browse files
stefanbellergitster
authored andcommitted
sha1_file.c: 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 <[email protected]>
1 parent e5e5e08 commit fc1395f

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ LIB_OBJS += server-info.o
900900
LIB_OBJS += setup.o
901901
LIB_OBJS += sha1-array.o
902902
LIB_OBJS += sha1-lookup.o
903-
LIB_OBJS += sha1_file.o
903+
LIB_OBJS += sha1-file.o
904904
LIB_OBJS += sha1-name.o
905905
LIB_OBJS += shallow.o
906906
LIB_OBJS += sideband.o

builtin/index-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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
*/

sha1_file.c renamed to sha1-file.c

File renamed without changes.

0 commit comments

Comments
 (0)