From: Martin von Zweigbergk Date: Tue, 23 Apr 2013 14:45:02 GMT Subject: Re: [PATCH 2/7] rebase -i: don't error out if $state_dir already exists Message-ID: In-Reply-To: <1366725724-1016-3-git-send-email-artagnon@gmail.com> On Tue, Apr 23, 2013 at 7:01 AM, Ramkumar Ramachandra wrote: > Practically speaking, the only reason why a `mkdir $state_dir` would > fail is because $state_dir already exists. Would we ever get to this point in the code if it already exists? Also, I had the feeling that the check it might fail if the user does not have permissions to create the directory. Is there always something else that will fail first?