Re: [PATCH] - Added recurse command to git submodule

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: <imyousuf@...>, <git@...>, Imran M Yousuf <imyousuf@...>
Date: Wednesday, January 9, 2008 - 6:42 am

On Jan 9, 2008 9:38 AM, Junio C Hamano <gitster@pobox.com> wrote:

I very much agree; this behaviour would break the current 'usage model'.


A possible extension is to specifiy "inter-submodule" paths to the
init subcommand, i.e. for a possible KDE layout:
  git submodule -r init kdelibs kdelibs/admin

This should then recursively initialize the kdelibs submodule and the
admin-submodule (in the kdelibs submodule).

Btw: from my reading of the code, the git-command specified for
'recurse' will be done top-to-bottom: I guess that's what you want for
something like 'git submodule recurse diff', but not for something
like 'git submodule recurse commit' (but IMHO the latter one should
never be executed ;-)

--
larsh
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] - Added recurse command to git submodule, Junio C Hamano, (Wed Jan 9, 4:38 am)
Re: [PATCH] - Added recurse command to git submodule, Lars Hjemli, (Wed Jan 9, 6:42 am)
Re: [PATCH] - Added recurse command to git submodule, Imran M Yousuf, (Wed Jan 9, 4:55 am)