Re: There should be a `.gitbless; file, protecting files from git clean

2019-01-28 Thread Duy Nguyen
On Mon, Jan 28, 2019 at 10:30 PM Sebastian Gniazdowski wrote: > > > > On 28 stycznia 2019 at 06:05:31, Duy Nguyen (pclo...@gmail.com) wrote: > > There's a patch that adds "precious" git attribute [1]. I was going to > > resend once the backup-log [2] got reviewed but I might just send it > > separ

Re: There should be a `.gitbless; file, protecting files from git clean

2019-01-28 Thread Duy Nguyen
On Mon, Jan 28, 2019 at 12:24 PM Sebastian Gniazdowski wrote: > > On 28 stycznia 2019 at 06:05:31, Duy Nguyen (pclo...@gmail.com) wrote: > > On Mon, Jan 28, 2019 at 9:54 AM Sebastian Gniazdowski > > wrote: > > > > > > Hello, > > > Could a .gitbless file be a solution? I would list in it, e.g.: > >

Re: There should be a `.gitbless; file, protecting files from git clean

2019-01-28 Thread Junio C Hamano
Duy Nguyen writes: > There's a patch that adds "precious" git attribute [1]. I was going to > resend once the backup-log [2] got reviewed but I might just send it > separately to handle the "git clean" case alone. Thanks.

Re: There should be a `.gitbless; file, protecting files from git clean

2019-01-28 Thread Sebastian Gniazdowski
On 28 stycznia 2019 at 06:05:31, Duy Nguyen (pclo...@gmail.com) wrote: > There's a patch that adds "precious" git attribute [1]. I was going to > resend once the backup-log [2] got reviewed but I might just send it > separately to handle the "git clean" case alone. > > [1] https://public-inbox.

Re: There should be a `.gitbless; file, protecting files from git clean

2019-01-27 Thread Sebastian Gniazdowski
I like the idea of the backup-log, I hope it gets commited! On 28 stycznia 2019 at 06:05:31, Duy Nguyen (pclo...@gmail.com) wrote: > > There's a patch that adds "precious" git attribute [1]. I was going to > resend once the backup-log [2] got reviewed but I might just send it > separately to hand

Re: There should be a `.gitbless; file, protecting files from git clean

2019-01-27 Thread Sebastian Gniazdowski
On 28 stycznia 2019 at 06:05:31, Duy Nguyen (pclo...@gmail.com) wrote: > On Mon, Jan 28, 2019 at 9:54 AM Sebastian Gniazdowski > wrote: > > > > Hello, > > Could a .gitbless file be a solution? I would list in it, e.g.: > > > > TODO > > > > and this way be able to use `git -dxf' again. What do you t

Re: There should be a `.gitbless; file, protecting files from git clean

2019-01-27 Thread Duy Nguyen
On Mon, Jan 28, 2019 at 9:54 AM Sebastian Gniazdowski wrote: > > Hello, > Keepiing repo clean with `git clean -dxf' is a very pleasant experience. > However, ability to use it ends when one gets untracked but *wanted* files in > the repo, like an untracked TODO. > > Could a .gitbless file be a s

There should be a `.gitbless; file, protecting files from git clean

2019-01-27 Thread Sebastian Gniazdowski
Hello, Keepiing repo clean with `git clean -dxf' is a very pleasant experience. However, ability to use it ends when one gets untracked but *wanted* files in the repo, like an untracked TODO. Could a .gitbless file be a solution? I would list in it, e.g.: TODO and this way be able to use `git