Re: [PATCH] submodule update: run custom update script for initial populating as well
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 13, 2017, 23:58 UTC
- Message-ID
- <xmqq7f5yeclw.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170113194326.13950-1-sbeller@google.com>
Stefan Beller <sbeller@google.com> writes:
Show 6 quoted lines
> + 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.