Re: [PATCH v3 07/10] fetch: implement fetch.fsck.*

2018-07-30 Thread Ævar Arnfjörð Bjarmason
On Mon, Jul 30 2018, Duy Nguyen wrote: > On Fri, Jul 27, 2018 at 02:37:17PM +, Ævar Arnfjörð Bjarmason wrote: >> diff --git a/Documentation/config.txt b/Documentation/config.txt >> index 7ff453c53b..8dace49daa 100644 >> --- a/Documentation/config.txt >> +++ b/Documentation/config.txt >> @@ -

Re: [PATCH v3 07/10] fetch: implement fetch.fsck.*

2018-07-30 Thread Duy Nguyen
On Fri, Jul 27, 2018 at 02:37:17PM +, Ævar Arnfjörð Bjarmason wrote: > diff --git a/Documentation/config.txt b/Documentation/config.txt > index 7ff453c53b..8dace49daa 100644 > --- a/Documentation/config.txt > +++ b/Documentation/config.txt > @@ -1467,6 +1467,16 @@ fetch.fsckObjects:: > ch

Re: [PATCH v3 07/10] fetch: implement fetch.fsck.*

2018-07-27 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > - argv_array_push(&cmd.args, "--strict"); > + argv_array_pushf(&cmd.args, "--strict%s", > + fsck_msg_types.buf); > ... > + if (git_config_pathname(&path, var, value)) > +

Re: [PATCH v3 07/10] fetch: implement fetch.fsck.*

2018-07-27 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > + > Setting `fsck.` will be picked up by linkgit:git-fsck[1], but > -to accept pushes of such data set `receive.fsck.` instead. > +to accept pushes of such data set `receive.fsck.` instead, or Inherited from the original, but I find it a lot more readable to

[PATCH v3 07/10] fetch: implement fetch.fsck.*

2018-07-27 Thread Ævar Arnfjörð Bjarmason
Implement support for fetch.fsck.* corresponding with the existing receive.fsck.*. This allows for pedantically cloning repositories with specific issues without turning off fetch.fsckObjects. One such repository is https://github.com/robbyrussell/oh-my-zsh.git which before this change will emit t