Rename advice.object_name_warning to objectNameWarning
We spell config variables in camelCase instead of with_underscores. Signed-off-by: Thomas Rast <trast@inf.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thomas Rast committed
Jul 31, 2013 at 22:23 UTC
8dc84fdc48a79c70682e6c361a82d0f3e1db9a03
2 files changed
+2
-2
advice.c
+1
-1
@@ -35,7 +35,7 @@ static struct {
35
{ "implicitidentity", &advice_implicit_identity },
36
{ "detachedhead", &advice_detached_head },
37
{ "setupstreamfailure", &advice_set_upstream_failure },
38
- { "object_name_warning", &advice_object_name_warning },
38
+ { "objectnamewarning", &advice_object_name_warning },
39
{ "rmhints", &advice_rm_hints },
40
41
/* make this an alias for backward compatibility */
sha1_name.c
+1
-1
@@ -445,7 +445,7 @@ static int get_sha1_basic(const char *str, int len, unsigned char *sha1)
445
"\n"
446
"where \"$br\" is somehow empty and a 40-hex ref is created. Please\n"
447
"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\"");
449
unsigned char tmp_sha1[20];
450
char *real_ref = NULL;
451
int refs_found = 0;