Thread (57 messages) flat view 57 messages, 6 authors, 2017-08-02

Re: [PATCH 3/3] grep: recurse in-process using 'struct repository'

From: Brandon Williams <hidden>
Date: 2017-07-12 18:56:56

On 07/11, Stefan Beller wrote:
On Tue, Jul 11, 2017 at 3:04 PM, Brandon Williams [off-list ref] wrote:
quoted
+       if (repo_submodule_init(&submodule, superproject, path))
+               return 0;
What happens if we go through the "return 0", do we rather want to
print an error ?
Should just indicate that there is no hit in the submodule, but if we
couldn't init the submodule maybe you're right and we should issue a
warning.
quoted
+       /* add objects to alternates */
+       add_to_alternates_memory(submodule.objectdir);
Not trying to make my object series more important than it is... but
we really don't want to spread this add_to_alternates_memory hack. :/
Nope your object series is definitely important IMO.  As I commented in
my reply to Jonathan, I'm not sure if we want to wait till that becomes
a reality or not.
I agree with Jacob that a patch with such a diffstat is a joy to review. :)

Thanks,
Stefan
-- 
Brandon Williams
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help