From: Francesco Pretto Date: Tue, 07 Jan 2014 01:16:28 GMT Subject: Re: [PATCH] git-submodule.sh: Support 'checkout' as a valid update command Message-ID: In-Reply-To: 2014/1/7 Junio C Hamano : > Sorry, but -ECANNOTPARSE. > A bird told me what -ECANNOTPARSE means. Tell me if this comment sounds better: According to "Documentation/gitmodules.txt", 'checkout' is a valid 'submodule..update' mode. Also "git-submodule.sh" already refers to it and handles it correctly. Fix cmd_init() to also accept 'checkout' as valid update mode and add a similar validation in cmd_update(), issuing an error if the value read is unknown.