From: Eric Sunshine Date: Sat, 07 Mar 2015 02:19:57 GMT Subject: Re: [PATCH v4] git: treat "-C " as a no-op when is empty Message-ID: In-Reply-To: <1425640688-26513-1-git-send-email-karthik.188@gmail.com> On Fri, Mar 6, 2015 at 6:18 AM, Karthik Nayak wrote: > 'git -C ""' unhelpfully dies with error "Cannot change to ''", > whereas the shell treats `cd ""' as a no-op. Taking the shell's > behavior as a precedent, teach git to treat `-C ""' as a no-op, as > well. > > Test to check the no-op behaviour of "-C " when is > empty, written by Junio C Hamano. > > Helped-by: Junio C Hamano > Helped-by: Eric Sunchine s/Sunchine/Sunshine/ > Signed-off-by: Karthik Nayak