summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-12-12 06:38:10 +0100
committerJunio C Hamano <gitster@pobox.com>2011-12-12 09:08:51 -0800
commit85be1fe34ab6bf67d232b1deb524c4af34d87222 (patch)
tree1c566434df84e421c36f9f4b859fcf63b0fc4b9b /refs.h
parentdfefa935ae050d859022017bf9d5d23f4238a7e5 (diff)
downloadgit-85be1fe34ab6bf67d232b1deb524c4af34d87222.tar.gz
refs: rename parameters result -> sha1
Try consistently to use the name "sha1" for parameters to which a SHA1 will be stored. 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 e36bd03e55..4c5d570639 100644
--- a/refs.h
+++ b/refs.h
@@ -134,7 +134,7 @@ extern char *shorten_unambiguous_ref(const char *refname, int strict);
extern int rename_ref(const char *oldref, const char *newref, const char *logmsg);
/** resolve ref in nested "gitlink" repository */
-extern int resolve_gitlink_ref(const char *name, const char *refname, unsigned char *result);
+extern int resolve_gitlink_ref(const char *name, const char *refname, unsigned char *sha1);
/** lock a ref and then write its file */
enum action_on_err { MSG_ON_ERR, DIE_ON_ERR, QUIET_ON_ERR };