Commit fd1f09408cc7905e0d607c1adb5b41c1d0073420

Patrick Steinhardt 2020-06-08T12:42:26

refs: add missing function declaration The function `git_reference__is_note` is not declared anywhere. Let's add the declaration to avoid having non-static functions without declaration.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/refs.h b/src/refs.h
index adc345a..ece6646 100644
--- a/src/refs.h
+++ b/src/refs.h
@@ -90,6 +90,7 @@ int git_reference__is_valid_name(const char *refname, unsigned int flags);
 int git_reference__is_branch(const char *ref_name);
 int git_reference__is_remote(const char *ref_name);
 int git_reference__is_tag(const char *ref_name);
+int git_reference__is_note(const char *ref_name);
 const char *git_reference__shorthand(const char *name);
 
 /**