Commit Diff


commit - f1c6967f90f720a023714672e6751755b755e2a5
commit + 76911fd28aa2313e62eb8f866862047c4befc10d
blob - 0fa6534500d768ff92fdf0a5ec9d721d9c7af309
blob + 132da7a4423d03eb7ad5f8bd359050d9841a9cc6
--- lib/fetch.c
+++ lib/fetch.c
@@ -400,7 +400,7 @@ got_fetch_pack(struct got_object_id **pack_hash, struc
 	pid_t fetchpid, idxpid;
 	char *tmppackpath = NULL, *tmpidxpath = NULL;
 	char *packpath = NULL, *idxpath = NULL, *id_str = NULL;
-	const char *repo_path = got_repo_get_path(repo);
+	const char *repo_path = got_repo_get_path_git_dir(repo);
 	struct got_pathlist_head have_refs;
 	struct got_pathlist_entry *pe;
 	struct got_reflist_head my_refs;