X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=bisect.c;h=1aad49b1a642a308f449001960958ccab79347d1;hb=refs%2Fheads%2Fwtk%2Fsubmodule.name.branch-v5.1;hp=48acf73391271c1d9061b178a53653357f07f391;hpb=8144049d79f2678eb6cee7bb9070341e3fcfe282;p=git.git diff --git a/bisect.c b/bisect.c index 48acf7339..1aad49b1a 100644 --- a/bisect.c +++ b/bisect.c @@ -833,7 +833,7 @@ static int check_ancestors(const char *prefix) */ static void check_good_are_ancestors_of_bad(const char *prefix, int no_checkout) { - char *filename = xstrdup(git_path("BISECT_ANCESTORS_OK")); + char *filename = git_pathdup("BISECT_ANCESTORS_OK"); struct stat st; int fd;