[PATCH/RFC] Changing submodule foreach --recursive to be depth-first, --parent option to execute command in supermodule as well

2013-03-04 Thread Eric Cousineau
In this patch, foreach --recursive acts depth-first, much like the default behavior described in the patch by Imram Yousuf in this post . Changes were made so that the submodule "Entering ..." message was right next to the output generated by the comma

Re: [PATCH/RFC] Changing submodule foreach --recursive to be depth-first, --parent option to execute command in supermodule as well

2013-03-04 Thread Eric Cousineau
git-submodule.sh: In foreach, make '-post-order' yield post-order traversal and '--include-super' execute commands at the top-level supermodule, with both of these options compatible with '--recursive'. Signed-off-by: Eric Cousineau --- Sorry about missing th

Re: [PATCH/RFC] Changing submodule foreach --recursive to be depth-first, --parent option to execute command in supermodule as well

2013-03-05 Thread Eric Cousineau
On Tue, Mar 5, 2013 at 10:09 AM, Junio C Hamano wrote: > Heiko Voigt writes: > >> On Mon, Mar 04, 2013 at 03:00:45PM -0800, Junio C Hamano wrote: >>> So if you want a single boolean to toggle between the current >>> behaviour and the other one, it would be --post-order. But you may >>> at least

Re: [PATCH/RFC] Changing submodule foreach --recursive to be depth-first, --parent option to execute command in supermodule as well

2013-03-13 Thread Eric Cousineau
From 59fb432e17a1aae9de26bbaaca7f09cc7f03b471 Mon Sep 17 00:00:00 2001 From: Eric Cousineau Date: Thu, 14 Mar 2013 01:19:53 -0500 Subject: [PATCH] submodule-foreach: Added in --post-order= per Jens Lehmann's suggestion Signed-off-by: Eric Cousineau --- Made the scope of the patch only r

Re: [PATCH/RFC] Changing submodule foreach --recursive to be depth-first, --parent option to execute command in supermodule as well

2013-03-25 Thread Eric Cousineau
; Am 05.03.2013 19:34, schrieb Junio C Hamano: >>>>>> Eric Cousineau writes: >>>>>>> ... >>>>>> I am not entirely convinced we would want --include-super in the >>>>>> first place, though. It does not belong to "sub

Re: [PATCH/RFC] Changing submodule foreach --recursive to be depth-first, --parent option to execute command in supermodule as well

2013-03-25 Thread Eric Cousineau
From 2c2923ada809d671828aa58dcda05a1b71222b70 Mon Sep 17 00:00:00 2001 From: Eric Cousineau Date: Mon, 25 Mar 2013 22:27:06 -0500 Subject: [PATCH] submodule-foreach: Added in --post-order= and adjusted code per Jens Lehmann's suggestion Signed-off-by: Eric Cousineau --- Updated the usage

Re: [PATCH/RFC] Changing submodule foreach --recursive to be depth-first, --parent option to execute command in supermodule as well

2013-03-25 Thread Eric Cousineau
On 03/25/2013 10:56 PM, Eric Cousineau wrote: On 03/18/2013 04:10 PM, Jens Lehmann wrote: Am 12.03.2013 17:01, schrieb Phil Hord: On Sat, Mar 9, 2013 at 1:18 PM, Jens Lehmann wrote: Am 05.03.2013 22:17, schrieb Phil Hord: ... I agree on the possible problems a configuration option

Re: [PATCH] submodule foreach: Added in --post-order= and adjusted code per Jens Lehmann's suggestions

2013-04-12 Thread Eric Cousineau
Had accidentally sent this as HTML, resending as plain-text. On Fri, Apr 12, 2013 at 11:09 PM, Eric Cousineau wrote: > > Oops... I tried out using git-send-email adding in the Message-Id, but forgot > to change the title as well. My bad. > > This was in response to: > >

[ANNOUNCE] git-submodule-ext, git-new-workdir (updates for supermodules), and git-emeld (using git-new-workdir)

2013-04-28 Thread Eric Cousineau
er on Git submodules: https://github.com/eacousineau/util/blob/master/SUBMODULES.md Let me know of any suggestions you have for these tools or the primer. I plan to submit these modifications as patches in the future. Thank you, - Eric Cousineau -- To unsubscribe from this list: send the line &quo