From: Patrick Palka Date: Sun, 16 Feb 2014 18:19:18 GMT Subject: Re: [PATCH v2] reset: optionally setup worktree and refresh index on --mixed Message-ID: In-Reply-To: <1392517683-29518-1-git-send-email-pclouds@gmail.com> On Sat, Feb 15, 2014 at 9:28 PM, Nguyễn Thái Ngọc Duy wrote: > Refreshing index requires work tree. So we have to options: always set > up work tree (and refuse to reset if failing to do so), or make > refreshing index optional. > > As refreshing index is not the main task, it makes more sense to make > it optional. > > Reported-by: Patrick Palka > Signed-off-by: Nguyễn Thái Ngọc Duy Thanks! I can confirm that this change fixes my use case.