diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2011-12-12 06:38:10 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-12 09:08:51 -0800 |
commit | 85be1fe34ab6bf67d232b1deb524c4af34d87222 (patch) | |
tree | 1c566434df84e421c36f9f4b859fcf63b0fc4b9b /refs.h | |
parent | dfefa935ae050d859022017bf9d5d23f4238a7e5 (diff) | |
download | git-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }; |