Re: [PATCH 0/2] read-tree: improve untracked file support

2019-05-07 Thread Duy Nguyen
On Tue, May 7, 2019 at 5:02 PM Phillip Wood wrote: > > My (biased, obviously) view is that "git reset --hard" is very > > dangerous and I'm not trying to change that, especially when its > > behavior has been like this since forever and I'm sure it's used in > > scripts. > > > > Instead "git resto

Re: [PATCH 0/2] read-tree: improve untracked file support

2019-05-07 Thread Phillip Wood
On 02/05/2019 11:53, Duy Nguyen wrote: On Wed, May 1, 2019 at 9:58 PM Phillip Wood wrote: On 01/05/2019 11:31, Duy Nguyen wrote: On Wed, May 1, 2019 at 5:14 PM Phillip Wood wrote: From: Phillip Wood These two patches teach read-tree how to avoid overwriting untracked files when doing '--r

Re: [PATCH 0/2] read-tree: improve untracked file support

2019-05-02 Thread Duy Nguyen
On Wed, May 1, 2019 at 9:58 PM Phillip Wood wrote: > > > > On 01/05/2019 11:31, Duy Nguyen wrote: > > On Wed, May 1, 2019 at 5:14 PM Phillip Wood > > wrote: > >> > >> From: Phillip Wood > >> > >> These two patches teach read-tree how to avoid overwriting untracked > >> files when doing '--reset

Re: [PATCH 0/2] read-tree: improve untracked file support

2019-05-01 Thread Phillip Wood
On 01/05/2019 11:31, Duy Nguyen wrote: On Wed, May 1, 2019 at 5:14 PM Phillip Wood wrote: From: Phillip Wood These two patches teach read-tree how to avoid overwriting untracked files when doing '--reset -u' and also how to respect all of git's standard excludes files. I'd like to see the

Re: [PATCH 0/2] read-tree: improve untracked file support

2019-05-01 Thread Duy Nguyen
On Wed, May 1, 2019 at 5:14 PM Phillip Wood wrote: > > From: Phillip Wood > > These two patches teach read-tree how to avoid overwriting untracked > files when doing '--reset -u' and also how to respect all of git's > standard excludes files. I'd like to see the porcelain commands stop > overwrit

[PATCH 0/2] read-tree: improve untracked file support

2019-05-01 Thread Phillip Wood
From: Phillip Wood These two patches teach read-tree how to avoid overwriting untracked files when doing '--reset -u' and also how to respect all of git's standard excludes files. I'd like to see the porcelain commands stop overwriting untracked files, this is a first step on the way. I'm not sur