From: Ramkumar Ramachandra Date: Wed, 11 Jan 2012 04:21:10 GMT Subject: Re: [PATCH] t2203: fix wrong commit command Message-ID: In-Reply-To: <1326252098-2891-1-git-send-email-pclouds@gmail.com> Hi Duy, Nguyễn Thái Ngọc Duy wrote: > Add commit message to avoid commit's aborting due to the lack of > commit message, not because there are INTENT_TO_ADD entries in index. Is there any way to differentiate between the two kinds of errors, so that we can avoid this in the future? Can we grep the error message for something, or inspect the exit status? -- Ram