summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2016-09-04 18:08:24 +0200
committerJunio C Hamano <gitster@pobox.com>2016-09-09 15:28:13 -0700
commita8355bb717aaf2d5d9b3781aa78402d0053fa87a (patch)
treee692727ab490713e6f8da84837f4461115ed6206 /refs.h
parent48a8475fd3f935d753cc2e0dd81562bc73f6d6d3 (diff)
downloadgit-a8355bb717aaf2d5d9b3781aa78402d0053fa87a.tar.gz
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>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/refs.h b/refs.h
index 52ea93b8c3..132dcef5af 100644
--- a/refs.h
+++ b/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);
/*