summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-04-07 15:48:13 +0200
committerJunio C Hamano <gitster@pobox.com>2014-04-07 12:09:15 -0700
commit5524e2416ec97f8c6d1a2fc12ee857efa9641175 (patch)
tree909b303a31ac3467054b7995ae95192c17924a1b /refs.h
parentb5c8ea2afb9bea910f0db5f9a4dfe58471184b3d (diff)
downloadgit-5524e2416ec97f8c6d1a2fc12ee857efa9641175.tar.gz
struct ref_update: rename field "ref_name" to "refname"
This is consistent with the usual nomenclature. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.h b/refs.h
index cb799a39f7..0f08def210 100644
--- a/refs.h
+++ b/refs.h
@@ -154,7 +154,7 @@ extern void unlock_ref(struct ref_lock *lock);
extern int write_ref_sha1(struct ref_lock *lock, const unsigned char *sha1, const char *msg);
/** Setup reflog before using. **/
-int log_ref_setup(const char *ref_name, char *logfile, int bufsize);
+int log_ref_setup(const char *refname, char *logfile, int bufsize);
/** Reads log for the value of ref during at_time. **/
extern int read_ref_at(const char *refname, unsigned long at_time, int cnt,