From: Junio C Hamano Date: Fri, 13 Jan 2017 23:58:35 GMT Subject: Re: [PATCH] submodule update: run custom update script for initial populating as well Message-ID: In-Reply-To: <20170113194326.13950-1-sbeller@google.com> Stefan Beller writes: > + if test "$update_module" = "merge" || > + test "$update_module" = "rebase" || > + test "$update_module" = "none" > + then > + update_module=checkout > + fi case "$update_module" in merge | rebase | none) update_module=checkout ;; esac Shorter and probably easier to update.