]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.h
git p4 test: clean up the p4d cleanup functions
[thirdparty/git.git] / refs.h
diff --git a/refs.h b/refs.h
index 6cc0397679fd55bfdfc72b7a7f4cbf3ee5d028a0..308fa1f03b26c151f2df76a0c4f2f675e7bbee5a 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -714,9 +714,11 @@ int parse_hide_refs_config(const char *var, const char *value, const char *);
 int ref_is_hidden(const char *, const char *);
 
 enum ref_type {
-       REF_TYPE_PER_WORKTREE,
-       REF_TYPE_PSEUDOREF,
-       REF_TYPE_NORMAL,
+       REF_TYPE_PER_WORKTREE,    /* refs inside refs/ but not shared       */
+       REF_TYPE_PSEUDOREF,       /* refs outside refs/ in current worktree */
+       REF_TYPE_MAIN_PSEUDOREF,  /* pseudo refs from the main worktree     */
+       REF_TYPE_OTHER_PSEUDOREF, /* pseudo refs from other worktrees       */
+       REF_TYPE_NORMAL,          /* normal/shared refs inside refs/        */
 };
 
 enum ref_type ref_type(const char *refname);