]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.h
revision.h: store hidden refs in a `strvec`
[thirdparty/git.git] / refs.h
diff --git a/refs.h b/refs.h
index 207e18a98faa3b07cbbfdaaab8121baec22dcaef..012c0d52132bd303eeec7e3661d6f8792fa5b88b 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -814,7 +814,7 @@ int update_ref(const char *msg, const char *refname,
               unsigned int flags, enum action_on_err onerr);
 
 int parse_hide_refs_config(const char *var, const char *value, const char *,
-                          struct string_list *);
+                          struct strvec *);
 
 /*
  * Check whether a ref is hidden. If no namespace is set, both the first and
@@ -824,7 +824,7 @@ int parse_hide_refs_config(const char *var, const char *value, const char *,
  * the ref is outside that namespace, the first parameter is NULL. The second
  * parameter always points to the full ref name.
  */
-int ref_is_hidden(const char *, const char *, const struct string_list *);
+int ref_is_hidden(const char *, const char *, const struct strvec *);
 
 /* Is this a per-worktree ref living in the refs/ namespace? */
 int is_per_worktree_ref(const char *refname);