Re: [PATCH] submodule--helper: teach push-check to handle HEAD

2017-06-26 Thread Brandon Williams
On 06/23, Junio C Hamano wrote: > Brandon Williams writes: > > > In 06bf4ad1d (push: propagate remote and refspec with > > --recurse-submodules) push was taught how to propagate a refspec down to > > submodules when the '--recurse-submodules' flag is given. The only refspecs > > that are allowed

Re: [PATCH] submodule--helper: teach push-check to handle HEAD

2017-06-23 Thread Junio C Hamano
Brandon Williams writes: > In 06bf4ad1d (push: propagate remote and refspec with > --recurse-submodules) push was taught how to propagate a refspec down to > submodules when the '--recurse-submodules' flag is given. The only refspecs > that are allowed to be propagated are ones which name a ref

Re: [PATCH] submodule--helper: teach push-check to handle HEAD

2017-06-23 Thread Stefan Beller
On Fri, Jun 23, 2017 at 1:04 PM, Brandon Williams wrote: > In 06bf4ad1d (push: propagate remote and refspec with > --recurse-submodules) push was taught how to propagate a refspec down to > submodules when the '--recurse-submodules' flag is given. The only refspecs > that are allowed to be propag

[PATCH] submodule--helper: teach push-check to handle HEAD

2017-06-23 Thread Brandon Williams
In 06bf4ad1d (push: propagate remote and refspec with --recurse-submodules) push was taught how to propagate a refspec down to submodules when the '--recurse-submodules' flag is given. The only refspecs that are allowed to be propagated are ones which name a ref which exists in both the superproje