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:
Michael Haggerty
2016-04-26 03:06:23 +02:00
parent efe472813d
commit 3a0b6b9aba
2 changed files with 10 additions and 10 deletions

View File

@ -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 */