]> git.ipfire.org Git - thirdparty/git.git/blobdiff - notes.h
lib-gpg: drop unnecessary "missing GPG" warning
[thirdparty/git.git] / notes.h
diff --git a/notes.h b/notes.h
index e5d67fd3754aab644791f2062d3789b38cf6bd38..5345642cfd1c36f3935cb4a7e38ab32f6992b383 100644 (file)
--- a/notes.h
+++ b/notes.h
@@ -302,4 +302,11 @@ void string_list_add_refs_from_colon_sep(struct string_list *list,
 /* Expand inplace a note ref like "foo" or "notes/foo" into "refs/notes/foo" */
 void expand_notes_ref(struct strbuf *sb);
 
+/*
+ * Similar to expand_notes_ref, but will check whether the ref can be located
+ * via get_sha1 first, and only falls back to expand_notes_ref in the case
+ * where get_sha1 fails.
+ */
+void expand_loose_notes_ref(struct strbuf *sb);
+
 #endif