[githelp] git pull --recurse-submodules equivalent?

In trying to set up my ISP account to do testing report generation I ran into a rather old git version, 1.7.2.5. Which doesn't support the "--recurse-submodules" option of pull. What is the equivalent for a pre 1.7.3 git? -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

On Monday, February 10, 2014 8:47:08 PM UTC-7, Rene Rivera wrote:
In trying to set up my ISP account to do testing report generation I ran into a rather old git version, 1.7.2.5. Which doesn't support the "--recurse-submodules" option of pull. What is the equivalent for a pre 1.7.3 git?
You could use "git submodule foreach ..." Michael
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On 02/11/2014 04:47 AM, Rene Rivera wrote:
In trying to set up my ISP account to do testing report generation I ran into a rather old git version, 1.7.2.5. Which doesn't support the "--recurse-submodules" option of pull. What is the equivalent for a pre 1.7.3 git?
I am not sure, but from reading the git pull manpage it looks like git pull git submodule foreach --recursive git fetch should be close. You do not need --recursive on git foeach with boost though, as there are only two levels. -- Bjørn

On 11 February 2014 03:47, Rene Rivera
In trying to set up my ISP account to do testing report generation I ran into a rather old git version, 1.7.2.5. Which doesn't support the "--recurse-submodules" option of pull. What is the equivalent for a pre 1.7.3 git?
'git submodule update' should do the fetch for you.

On Tue, Feb 11, 2014 at 1:37 AM, Daniel James
On 11 February 2014 03:47, Rene Rivera
wrote: In trying to set up my ISP account to do testing report generation I ran into a rather old git version, 1.7.2.5. Which doesn't support the "--recurse-submodules" option of pull. What is the equivalent for a pre 1.7.3 git?
'git submodule update' should do the fetch for you.
Thanks.. I changed it to that and it seems to be working. -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
participants (4)
-
Bjørn Roald
-
Daniel James
-
Michael Cox
-
Rene Rivera