Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: "Your local changes ... would be overwritten" bug

From: Clemens Buchacher <hidden>
Date: 2016-06-15 22:51:59

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
quoted
break add_rejected_path
r
... wait for break ...
quoted
bt
Thanks,
Clemens
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help