From: Clemens Buchacher Date: Tue, 06 Sep 2011 07:34:36 GMT Subject: Re: "Your local changes ... would be overwritten" bug Message-ID: <20110906073436.GA28490@ecki> In-Reply-To: <8362l73qi6.fsf@kalahari.s2.org> Hi, On Mon, Sep 05, 2011 at 07:25:53PM +0300, Hannu Koivisto wrote: > > I have a problem where "git checkout origin/another-branch" in master > should remove a set of files but instead I get: > > error: Your local changes to the following files would be overwritten by checkout: > file1 > file2 > ... > Please, commit your changes or stash them before you can switch branches. > Aborting Could you set a breakpoint in add_rejected_path and send us the backtrace? Like this: $ gdb --args git checkout origin/another-branch >> break add_rejected_path >> r ... wait for break ... >> bt Thanks, Clemens