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

Re: .gitignore vs untracked working file

From: Rostislav Svoboda <hidden>
Date: 2016-06-15 22:47:12

2009/8/10 Johannes Sixt [off-list ref]:
Rostislav Svoboda schrieb:
quoted
2009/8/10 Uwe Kleine-König [off-list ref]:
quoted
Hello,
quoted
$ git checkout master
error: Untracked working tree file 'Project/bin/path/file.jjt' would
be overwritten by merge.
What is the output of

       $ git ls-files master bin/
Nothing:
It should have been

       $ git ls-tree master bin
Merde!

$ git ls-tree master Project/bin/path/file.jjt
100644 blob 8d5e24f12c37fd1a435de2d4402591f5b0c2a3cc
Project/bin/path/file.jjt

There's a file.jjt in the repo already! But guys! I bet I'm not the
first one having this problem. Do you think it would be wise to have a
kind of a check returning
    'The file '...' ignored in the branch X is not ignored in the
branch Y (or something)'

instead of responding questions like mine over and over again?

Bost

PS: ... and yea, thx a lot!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help