]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.h
config: improve error message for boolean config
[thirdparty/git.git] / refs.h
diff --git a/refs.h b/refs.h
index 66955181569b3d71363d8da752245f2a1efb7b1f..ff05d2e9fe27cfc3486c42a1cfcf99941eaf9774 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -170,8 +170,8 @@ int dwim_log(const char *str, int len, struct object_id *oid, char **ref);
  * The return value of `repo_default_branch_name()` is an allocated string. The
  * return value of `git_default_branch_name()` is a singleton.
  */
-const char *git_default_branch_name(void);
-char *repo_default_branch_name(struct repository *r);
+const char *git_default_branch_name(int quiet);
+char *repo_default_branch_name(struct repository *r, int quiet);
 
 /*
  * A ref_transaction represents a collection of reference updates that