Skip to content

Commit e5e5e08

Browse files
stefanbellergitster
authored andcommitted
sha1_name.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 d807c4a commit e5e5e08

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ LIB_OBJS += setup.o
901901
LIB_OBJS += sha1-array.o
902902
LIB_OBJS += sha1-lookup.o
903903
LIB_OBJS += sha1_file.o
904-
LIB_OBJS += sha1_name.o
904+
LIB_OBJS += sha1-name.o
905905
LIB_OBJS += shallow.o
906906
LIB_OBJS += sideband.o
907907
LIB_OBJS += sigchain.o

list-objects-filter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* in the traversal (until we mark it SEEN). This is a way to
2020
* let us silently de-dup calls to show() in the caller. This
2121
* is subtly different from the "revision.h:SHOWN" and the
22-
* "sha1_name.c:ONELINE_SEEN" bits. And also different from
22+
* "sha1-name.c:ONELINE_SEEN" bits. And also different from
2323
* the non-de-dup usage in pack-bitmap.c
2424
*/
2525
#define FILTER_SHOWN_BUT_REVISIT (1<<21)

object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct object_array {
3737
* bundle.c: 16
3838
* http-push.c: 16-----19
3939
* commit.c: 16-----19
40-
* sha1_name.c: 20
40+
* sha1-name.c: 20
4141
* list-objects-filter.c: 21
4242
* builtin/fsck.c: 0--3
4343
* builtin/index-pack.c: 2021

sha1_name.c renamed to sha1-name.c

File renamed without changes.

0 commit comments

Comments
 (0)