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 <sbeller@google.com>
Stefan Beller committed
Apr 10, 2018 at 14:26 UTC
fc1395f4a491a7da46a446233531005634eb979d
4 files changed
+3
-3
Documentation/technical/api-object-access.txt
+1
-1
@@ -1,7 +1,7 @@
1
object access API
2
=================
3
4
-Talk about <sha1_file.c> and <object.h> family, things like
4
+Talk about <sha1-file.c> and <object.h> family, things like
5
6
* read_sha1_file()
7
* read_object_with_reference()
Makefile
+1
-1
@@ -900,7 +900,7 @@ LIB_OBJS += server-info.o
900
LIB_OBJS += setup.o
901
LIB_OBJS += sha1-array.o
902
LIB_OBJS += sha1-lookup.o
903
-LIB_OBJS += sha1_file.o
903
+LIB_OBJS += sha1-file.o
904
LIB_OBJS += sha1-name.o
905
LIB_OBJS += shallow.o
906
LIB_OBJS += sideband.o
builtin/index-pack.c
+1
-1
@@ -1593,7 +1593,7 @@ static void read_idx_option(struct pack_idx_option *opts, const char *pack_name)
1593
/*
1594
* Get rid of the idx file as we do not need it anymore.
1595
* 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
1597
* know we haven't installed this pack (hence we never have
1598
* read anything from it).
1599
*/