Documentation: mention ORIG_HEAD in am, merge, and rebase
[gitweb.git] / wt-status.c
index 28c9e637e3dd42a2c2364dd7b9f099f4671861cb..e7d42d0491743d577f84dc262ead721eb82c4785 100644 (file)
@@ -399,7 +399,7 @@ int git_status_config(const char *k, const char *v, void *cb)
        }
        if (!strcmp(k, "status.showuntrackedfiles")) {
                if (!v)
-                       return config_error_nonbool(v);
+                       return config_error_nonbool(k);
                else if (!strcmp(v, "no"))
                        show_untracked_files = SHOW_NO_UNTRACKED_FILES;
                else if (!strcmp(v, "normal"))