]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.c
read_gitfile_gently(): rename misnamed function to read_gitfile()
[thirdparty/git.git] / refs.c
diff --git a/refs.c b/refs.c
index b10419a69815ef1c005915f3606c992659e60c77..c98c006e7a0270db2ebeb628cacc6027645eb4b2 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -451,7 +451,7 @@ int resolve_gitlink_ref(const char *path, const char *refname, unsigned char *re
        memcpy(gitdir + len, "/.git", 6);
        len += 5;
 
-       tmp = read_gitfile_gently(gitdir);
+       tmp = read_gitfile(gitdir);
        if (tmp) {
                free(gitdir);
                len = strlen(tmp);