]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.c
object-name.h: move declarations for object-name.c functions from cache.h
[thirdparty/git.git] / refs.c
diff --git a/refs.c b/refs.c
index 8684f4610f53727df0698940982b0aec94dc3ce7..979ed3fbedced74e6a365ea6c57783a513193bcc 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -3,8 +3,10 @@
  */
 
 #include "cache.h"
+#include "advice.h"
 #include "alloc.h"
 #include "config.h"
+#include "environment.h"
 #include "hashmap.h"
 #include "gettext.h"
 #include "hex.h"
@@ -14,6 +16,7 @@
 #include "refs/refs-internal.h"
 #include "run-command.h"
 #include "hook.h"
+#include "object-name.h"
 #include "object-store.h"
 #include "object.h"
 #include "tag.h"
 #include "worktree.h"
 #include "strvec.h"
 #include "repository.h"
+#include "setup.h"
 #include "sigchain.h"
 #include "date.h"
 #include "commit.h"
+#include "wrapper.h"
 
 /*
  * List of all available backends
@@ -1824,7 +1829,7 @@ const char *refs_resolve_ref_unsafe(struct ref_store *refs,
                        return NULL;
 
                /*
-                * dwim_ref() uses REF_ISBROKEN to distinguish between
+                * repo_dwim_ref() uses REF_ISBROKEN to distinguish between
                 * missing refs and refs that were present but invalid,
                 * to complain about the latter to stderr.
                 *