Re: [PATCH 02/16] replace_object.c: rename to use dash in file name
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 10, 2018, 03:00 UTC
- Message-ID
- <xmqqbmer4vfh.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180409224533.17764-3-sbeller@google.com>
Stefan Beller <sbeller@google.com> writes:
Show 9 quoted lines
> 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. > > Noticed while adding a header corresponding to this file. > > Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> > Signed-off-by: Stefan Beller <sbeller@google.com> > ---
Hmph, is this authored by Jonathan?
There are sha1_{file,name}.c, exec_cmd.[ch], and unicode_width.h remaining, though ;-)
Show 22 quoted lines
> Makefile | 2 +- > replace_object.c => replace-object.c | 0 > 2 files changed, 1 insertion(+), 1 deletion(-) > rename replace_object.c => replace-object.c (100%) > > diff --git a/Makefile b/Makefile > index de4b8f0c02..94e0bf47b1 100644 > --- a/Makefile > +++ b/Makefile > @@ -871,7 +871,7 @@ LIB_OBJS += refs/packed-backend.o > LIB_OBJS += refs/ref-cache.o > LIB_OBJS += ref-filter.o > LIB_OBJS += remote.o > -LIB_OBJS += replace_object.o > +LIB_OBJS += replace-object.o > LIB_OBJS += repository.o > LIB_OBJS += rerere.o > LIB_OBJS += resolve-undo.o > diff --git a/replace_object.c b/replace-object.c > similarity index 100% > rename from replace_object.c > rename to replace-object.c