builtin/fetch.c: Fix a sparse warning
[gitweb.git] / advice.c
index 2a52098a29dd1c2192edb6fff8ca6979383e77c6..3eca9f5ffdd6e3596584ed0aa79e2634683bd496 100644 (file)
--- a/advice.c
+++ b/advice.c
@@ -35,7 +35,7 @@ static struct {
        { "implicitidentity", &advice_implicit_identity },
        { "detachedhead", &advice_detached_head },
        { "setupstreamfailure", &advice_set_upstream_failure },
-       { "object_name_warning", &advice_object_name_warning },
+       { "objectnamewarning", &advice_object_name_warning },
        { "rmhints", &advice_rm_hints },
 
        /* make this an alias for backward compatibility */