summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-09-23 14:21:39 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-09-23 14:21:39 -0700
commit406c1c4dd4a8f0fac3fddce1e7bb3b66af835e6a (patch)
treefdf9a1740fb73a40c0aee0f23d79792ea171f289 /refs.c
parentMerge branch 'mh/check-ref-format-print-normalize' into maint (diff)
parentclone: allow to clone from .git file (diff)
downloadtgif-406c1c4dd4a8f0fac3fddce1e7bb3b66af835e6a.tar.xz
Merge branch 'nd/maint-clone-gitdir' into maint
* nd/maint-clone-gitdir: clone: allow to clone from .git file read_gitfile_gently(): rename misnamed function to read_gitfile()
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index 0fa8dcf3e1..4c1fd470dd 100644
--- 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);