Re: [PATCH] sha1_file.c: make sure open_sha1_file does not open a directory
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> However, the first thing for_each_loose_file_in_objdir is going to do is
> stick the path into a strbuf. So perhaps the most sensible thing is to
> just teach it to take a strbuf from the caller. I'll work up a patch.
>
> It looks like a1b47246 isn't even in "next" yet, so I'll build it
> directly on what is already in master, dropping Jonathan's patch.
Thanks; looks very sensible.