summaryrefslogtreecommitdiff
path: root/refs/refs-internal.h
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2016-04-26 03:06:23 +0200
committerLibravatar Michael Haggerty <mhagger@alum.mit.edu>2016-06-13 11:23:49 +0200
commit3a0b6b9aba844075e802a6dc4c24622b34ab535b (patch)
treeb076c1b457510205ae4d2666472f93ca21ad5e18 /refs/refs-internal.h
parentref_transaction_commit(): remove local variables n and updates (diff)
downloadtgif-3a0b6b9aba844075e802a6dc4c24622b34ab535b.tar.xz
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>
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r--refs/refs-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 3a4f634cb4..0b047f67ba 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -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 */