Re: Ignored files being silently overwritten when switching branches

2018-10-17 Thread Junio C Hamano
Duy Nguyen writes: > Just fyi I also have some wip changes that add the forth "precious" > class in addition to tracked, untracked and ignored [1]. If someone > has time it could be another option to pick up. It is much more sensible than gaining the ability to express precious by trading away

Re: Ignored files being silently overwritten when switching branches

2018-10-16 Thread Duy Nguyen
On Tue, Oct 16, 2018 at 11:12 AM Ævar Arnfjörð Bjarmason wrote: > > > On Tue, Oct 16 2018, Jeff King wrote: > > > On Mon, Oct 15, 2018 at 01:01:50PM +, Per Lundberg wrote: > > > >> Sorry if this question has been asked before; I skimmed through the list > >> archives and the FAQ but couldn't

Re: Ignored files being silently overwritten when switching branches

2018-10-16 Thread Ævar Arnfjörð Bjarmason
On Tue, Oct 16 2018, Jeff King wrote: > On Mon, Oct 15, 2018 at 01:01:50PM +, Per Lundberg wrote: > >> Sorry if this question has been asked before; I skimmed through the list >> archives and the FAQ but couldn't immediately find it - please point me >> in the right direction if it has

Re: Ignored files being silently overwritten when switching branches

2018-10-16 Thread Jeff King
On Mon, Oct 15, 2018 at 01:01:50PM +, Per Lundberg wrote: > Sorry if this question has been asked before; I skimmed through the list > archives and the FAQ but couldn't immediately find it - please point me > in the right direction if it has indeed been discussed before. It is a frequently

Ignored files being silently overwritten when switching branches

2018-10-15 Thread Per Lundberg
Hi, Sorry if this question has been asked before; I skimmed through the list archives and the FAQ but couldn't immediately find it - please point me in the right direction if it has indeed been discussed before. We were renaming some previously-included configuration files (foo.conf) in one