Stefan Beller <[email protected]> writes:
> 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 <[email protected]>
> Signed-off-by: Stefan Beller <[email protected]>
> ---
Hmph, is this authored by Jonathan?
There are sha1_{file,name}.c, exec_cmd.[ch], and unicode_width.h
remaining, though ;-)
> 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