Re: [PATCH 0/3] push only submodules

2016-12-20 Thread Junio C Hamano
Brandon Williams writes: > This series teaches 'git push' to be able to only push submodules > while leaving a superproject unpushed. It somehow feels a bit strange to single out the top-level as special like this one (iow, shouldn't it be equally as easy to push out the superproject and two sub

Re: [PATCH 0/3] push only submodules

2016-12-19 Thread Junio C Hamano
Brandon Williams writes: > This series teaches 'git push' to be able to only push submodules > while leaving a superproject unpushed. > ... > builtin/push.c | 2 ++ My knee-jerk reaction is "why is this even part of 'git push' if it does not push?" I think "git submodule forea

[PATCH 0/3] push only submodules

2016-12-19 Thread Brandon Williams
This series teaches 'git push' to be able to only push submodules while leaving a superproject unpushed. This is a desirable feature in a scenario where updates to the superproject are handled automatically by some other means, perhaps a code review tool. In this scenario a developer could make a