read_raw_ref(): rename flags argument to type
This will hopefully reduce confusion with the "flags" arguments that are used in many functions in this module as an input parameter to choose how the function should operate. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
This commit is contained in:
@ -210,6 +210,6 @@ int do_for_each_ref(const char *submodule, const char *base,
|
||||
each_ref_fn fn, int trim, int flags, void *cb_data);
|
||||
|
||||
int read_raw_ref(const char *refname, unsigned char *sha1,
|
||||
struct strbuf *symref, unsigned int *flags);
|
||||
struct strbuf *symref, unsigned int *type);
|
||||
|
||||
#endif /* REFS_REFS_INTERNAL_H */
|
||||
|
Reference in New Issue
Block a user