Skip to content
This repository was archived by the owner on Jul 2, 2019. It is now read-only.

Commit 8dc84fd

Browse files
Thomas Rastgitster
Thomas Rast
authored andcommitted
Rename advice.object_name_warning to objectNameWarning
We spell config variables in camelCase instead of with_underscores. Signed-off-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c8686e5 commit 8dc84fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

advice.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static struct {
3535
{ "implicitidentity", &advice_implicit_identity },
3636
{ "detachedhead", &advice_detached_head },
3737
{ "setupstreamfailure", &advice_set_upstream_failure },
38-
{ "object_name_warning", &advice_object_name_warning },
38+
{ "objectnamewarning", &advice_object_name_warning },
3939
{ "rmhints", &advice_rm_hints },
4040

4141
/* make this an alias for backward compatibility */

sha1_name.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ static int get_sha1_basic(const char *str, int len, unsigned char *sha1)
445445
"\n"
446446
"where \"$br\" is somehow empty and a 40-hex ref is created. Please\n"
447447
"examine these refs and maybe delete them. Turn this message off by\n"
448-
"running \"git config advice.object_name_warning false\"");
448+
"running \"git config advice.objectNameWarning false\"");
449449
unsigned char tmp_sha1[20];
450450
char *real_ref = NULL;
451451
int refs_found = 0;

0 commit comments

Comments
 (0)