Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2016-04-22 02:11:17 +0300
committerMichael Haggerty <mhagger@alum.mit.edu>2016-06-13 12:23:49 +0300
commit92b380931ee8beacb0c09635432b38a02b9fcc7e (patch)
tree8535c1196cb62eac43c5a067343e0d1d1114776e /refs/refs-internal.h
parentfa96ea1b883bf83fc488f999c58396bbab1860c1 (diff)
read_raw_ref(): rename symref argument to referent
After all, it doesn't hold the symbolic reference, but rather the reference referred to. 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 0b047f67ba..37a1a37ea0 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 *type);
+ struct strbuf *referent, unsigned int *type);
#endif /* REFS_REFS_INTERNAL_H */