Re: Submodules as first class citizens (was Re: Moving to subtrees for plugins?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 11.06.2015 um 18:11 schrieb Phil Hord:
On Tue, Jun 9, 2015 at 2:40 PM, Jens Lehmann <Jens.Lehmann@xxxxxx> wrote:
Am 07.06.2015 um 08:26 schrieb Stefan Beller:

On 06.06.2015 12:53, Luca Milanesio wrote:

On 6 Jun 2015, at 18:49, Phil Hord <phil.hord@xxxxxxxxx> wrote:
On Fri, Jun 5, 2015, 2:58 AM lucamilanesio <luca.milanesio@xxxxxxxxx>
wrote:

Ideally, as a "git clone --recursive" already exists, I would like to
see a "git diff --recursive" that goes through the submodules as well
:-)

Something possibly to propose to the Git mailing list?


Such an option makes lots of sense to me (though "--recurse-submodules"
should be its name for consistency reasons). This could be an alias for
"--submodule=full", as the "--submodule" option controls the format of
submodule diffs.

To me, --recurse-submodules means submodules are still not first-class
citizens.  But let's put that aside for a moment; I don't care about
the switch name too much as long as I can configure
'diff.recurse-submodules = true'.

After somebody implemented the 'full' mode for 'diff --submodule',
setting 'diff.submodule' to 'full' would make --recurse-submodules the
default for diff (unless recursing into the submodules is overridden
by either the global 'diff.ignoreSubmodules' or the per-submodule
'submodule.<name>.ignore' setting of course).

[The following is rather long.  I'm sorry for that.  Feel free to look
away when it gets too vague.]

Sorry, that was too long for todays git time budget ;-)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]