diff options
author | Stefan Beller <sbeller@google.com> | 2018-04-10 23:26:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-11 11:11:00 +0200 |
commit | e5e5e08832f7c4d581c0c70542e61235d21a8067 (patch) | |
tree | 1c03bc33b01ee380f214ac2245dcc96273bb8e1f | |
parent | exec_cmd: rename to use dash in file name (diff) | |
download | git-e5e5e08832f7c4d581c0c70542e61235d21a8067.tar.xz git-e5e5e08832f7c4d581c0c70542e61235d21a8067.zip |
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 <sbeller@google.com>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | list-objects-filter.c | 2 | ||||
-rw-r--r-- | object.h | 2 | ||||
-rw-r--r-- | sha1-name.c (renamed from sha1_name.c) | 0 |
4 files changed, 3 insertions, 3 deletions
@@ -901,7 +901,7 @@ LIB_OBJS += setup.o LIB_OBJS += sha1-array.o LIB_OBJS += sha1-lookup.o LIB_OBJS += sha1_file.o -LIB_OBJS += sha1_name.o +LIB_OBJS += sha1-name.o LIB_OBJS += shallow.o LIB_OBJS += sideband.o LIB_OBJS += sigchain.o diff --git a/list-objects-filter.c b/list-objects-filter.c index 0ec83aaf18..247717561f 100644 --- a/list-objects-filter.c +++ b/list-objects-filter.c @@ -19,7 +19,7 @@ * in the traversal (until we mark it SEEN). This is a way to * let us silently de-dup calls to show() in the caller. This * is subtly different from the "revision.h:SHOWN" and the - * "sha1_name.c:ONELINE_SEEN" bits. And also different from + * "sha1-name.c:ONELINE_SEEN" bits. And also different from * the non-de-dup usage in pack-bitmap.c */ #define FILTER_SHOWN_BUT_REVISIT (1<<21) @@ -37,7 +37,7 @@ struct object_array { * bundle.c: 16 * http-push.c: 16-----19 * commit.c: 16-----19 - * sha1_name.c: 20 + * sha1-name.c: 20 * list-objects-filter.c: 21 * builtin/fsck.c: 0--3 * builtin/index-pack.c: 2021 diff --git a/sha1_name.c b/sha1-name.c index 5b93bf8da3..5b93bf8da3 100644 --- a/sha1_name.c +++ b/sha1-name.c |