]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.h
cocci: apply the "refs.h" part of "the_repository.pending"
[thirdparty/git.git] / refs.h
diff --git a/refs.h b/refs.h
index 935cdd1ece3db3af483cb2225f204966c0e6cfa5..2998244b6156ff39498924b1946e077ee6ea5a7d 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -159,12 +159,6 @@ int expand_ref(struct repository *r, const char *str, int len, struct object_id
 int repo_dwim_ref(struct repository *r, const char *str, int len,
                  struct object_id *oid, char **ref, int nonfatal_dangling_mark);
 int repo_dwim_log(struct repository *r, const char *str, int len, struct object_id *oid, char **ref);
-static inline int dwim_ref(const char *str, int len, struct object_id *oid,
-                          char **ref, int nonfatal_dangling_mark)
-{
-       return repo_dwim_ref(the_repository, str, len, oid, ref,
-                            nonfatal_dangling_mark);
-}
 int dwim_log(const char *str, int len, struct object_id *oid, char **ref);
 
 /*