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>
This commit is contained in:
committed by
Junio C Hamano
parent
dfefa935ae
commit
85be1fe34a
2
refs.h
2
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 };
|
||||
|
||||
Reference in New Issue
Block a user