resolve_gitlink_ref(): rename path parameter to submodule
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
48a8475fd3
commit
a8355bb717
9
refs.h
9
refs.h
@ -77,11 +77,12 @@ int is_branch(const char *refname);
|
||||
int peel_ref(const char *refname, unsigned char *sha1);
|
||||
|
||||
/**
|
||||
* Resolve refname in the nested "gitlink" repository that is located
|
||||
* at path. If the resolution is successful, return 0 and set sha1 to
|
||||
* the name of the object; otherwise, return a non-zero value.
|
||||
* Resolve refname in the nested "gitlink" repository in the specified
|
||||
* submodule (which must be non-NULL). If the resolution is
|
||||
* successful, return 0 and set sha1 to the name of the object;
|
||||
* otherwise, return a non-zero value.
|
||||
*/
|
||||
int resolve_gitlink_ref(const char *path, const char *refname,
|
||||
int resolve_gitlink_ref(const char *submodule, const char *refname,
|
||||
unsigned char *sha1);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user