From: Johannes Sixt Date: Mon, 10 Aug 2009 13:14:48 GMT Subject: Re: .gitignore vs untracked working file Message-ID: <4A801D48.3020902@viscovery.net> In-Reply-To: <286817520908100559u6cdcaab0u3a7fdb92cd43eed9@mail.gmail.com> Rostislav Svoboda schrieb: > $ 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)' This is not only about ignored files, but untracked files. And the check is already there: git said: Untracked working tree file 'Project/bin/path/file.jjt' would be overwritten by merge. -- Hannes