Re: [PATCH] sha1_file.c: make sure open_sha1_file does not open a directory
From: Junio C Hamano <hidden> Date: 2016-06-15 23:03:46
Jeff King [off-list ref] writes:
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.