X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=server-info.c;h=66b0d9d878a011393582b837301eb1fd5caf2e40;hb=e72263a1f88d39a7e3672bbe15a7524f8a3f520a;hp=c1c073b2f05a48772a45602cdc711eef6e211695;hpb=2d3cfd77ad5305c132f7b23c192ae6c327443c95;p=git.git diff --git a/server-info.c b/server-info.c index c1c073b2f..66b0d9d87 100644 --- a/server-info.c +++ b/server-info.c @@ -25,7 +25,7 @@ static int add_info_ref(const char *path, const unsigned char *sha1, int flag, v static int update_info_refs(int force) { - char *path0 = xstrdup(git_path("info/refs")); + char *path0 = git_pathdup("info/refs"); int len = strlen(path0); char *path1 = xmalloc(len + 2);