"Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes: > @@ -876,7 +874,7 @@ static void prepare_packed_git_one(char *objdir, int local) > sprintf(path, "%s/pack", objdir); > len = strlen(path); > dir = opendir(path); > - while (!dir && errno == EMFILE && unuse_one_window(packed_git, -1)) > + while (!dir && errno == EMFILE && unuse_one_window(NULL, -1)) Hmmmm, why? > @@ -2314,7 +2325,7 @@ static int write_loose_object(const unsigned char *sha1, char *hdr, int hdrlen, > > filename = sha1_file_name(sha1); > fd = create_tmpfile(tmpfile, sizeof(tmpfile), filename); > - while (fd < 0 && errno == EMFILE && unuse_one_window(packed_git, -1)) > + while (fd < 0 && errno == EMFILE && unuse_one_window(NULL, -1)) Again, why? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html