Re: [PATCH v3 2/3] sha1dc: optionally use sha1collisiondetection as a submodule

2017-07-05 Thread Ævar Arnfjörð Bjarmason
On Wed, Jul 05 2017, Stefan Beller jotted: > On Tue, Jul 4, 2017 at 6:56 PM, Junio C Hamano wrote: >> Stefan Beller writes: >> >>> On Tue, Jul 4, 2017 at 3:50 PM, Ævar Arnfjörð Bjarmason >>> wrote: >>> I think some invocation of "git submodule update ???" will do the same, but I

Re: [PATCH v3 2/3] sha1dc: optionally use sha1collisiondetection as a submodule

2017-07-05 Thread Stefan Beller
On Tue, Jul 4, 2017 at 6:56 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> On Tue, Jul 4, 2017 at 3:50 PM, Ævar Arnfjörð Bjarmason >> wrote: >> >>> >>> I think some invocation of "git submodule update ???" will do the same, >>> but I can't from the docs see what that is right now. >> >>

Re: [PATCH v3 2/3] sha1dc: optionally use sha1collisiondetection as a submodule

2017-07-04 Thread Junio C Hamano
Stefan Beller writes: > On Tue, Jul 4, 2017 at 3:50 PM, Ævar Arnfjörð Bjarmason > wrote: > >> >> I think some invocation of "git submodule update ???" will do the same, >> but I can't from the docs see what that is right now. > > '--remote' is what you are looking for. > > When we have the branc

Re: [PATCH v3 2/3] sha1dc: optionally use sha1collisiondetection as a submodule

2017-07-04 Thread Stefan Beller
On Tue, Jul 4, 2017 at 3:50 PM, Ævar Arnfjörð Bjarmason wrote: > > I think some invocation of "git submodule update ???" will do the same, > but I can't from the docs see what that is right now. '--remote' is what you are looking for. When we have the branch field configured, the workflow for *

Re: [PATCH v3 2/3] sha1dc: optionally use sha1collisiondetection as a submodule

2017-07-04 Thread Ævar Arnfjörð Bjarmason
On Tue, Jul 04 2017, Junio C. Hamano jotted: > Ævar Arnfjörð Bjarmason writes: > diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00..cbeebdab7a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "sha1collisiondetection"]

Re: [PATCH v3 2/3] sha1dc: optionally use sha1collisiondetection as a submodule

2017-07-04 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: >>> diff --git a/.gitmodules b/.gitmodules >>> new file mode 100644 >>> index 00..cbeebdab7a >>> --- /dev/null >>> +++ b/.gitmodules >>> @@ -0,0 +1,4 @@ >>> +[submodule "sha1collisiondetection"] >>> + path = sha1collisiondetection >>> + url = https://gi

Re: [PATCH v3 2/3] sha1dc: optionally use sha1collisiondetection as a submodule

2017-07-03 Thread Ævar Arnfjörð Bjarmason
On Mon, Jul 03 2017, Junio C. Hamano jotted: > Ævar Arnfjörð Bjarmason writes: > >> Add an option to use the sha1collisiondetection library from the >> submodule in sha1collisiondetection/ instead of in the copy in the >> sha1dc/ directory. >> >> This allows us to try out the submodule in sha1c

Re: [PATCH v3 2/3] sha1dc: optionally use sha1collisiondetection as a submodule

2017-07-03 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > Add an option to use the sha1collisiondetection library from the > submodule in sha1collisiondetection/ instead of in the copy in the > sha1dc/ directory. > > This allows us to try out the submodule in sha1collisiondetection > without breaking the build for anyo

[PATCH v3 2/3] sha1dc: optionally use sha1collisiondetection as a submodule

2017-07-01 Thread Ævar Arnfjörð Bjarmason
Add an option to use the sha1collisiondetection library from the submodule in sha1collisiondetection/ instead of in the copy in the sha1dc/ directory. This allows us to try out the submodule in sha1collisiondetection without breaking the build for anyone who's not expecting them as we work out any