From: Duy Nguyen Date: Fri, 25 Jan 2019 09:24:56 GMT Subject: Re: [PATCH v3 7/8] checkout: introduce --{,no-}overlay option Message-ID: In-Reply-To: <20190125022649.GA540@google.com> On Fri, Jan 25, 2019 at 9:26 AM Jonathan Nieder wrote: > > Junio C Hamano wrote: > > Jonathan Nieder writes: > > >> I find --ignore-removal fairly easy to understand, and I had no idea > >> what --overlay would mean. > >> > >> I realize this is just one user's experience. > > > > Exactly. My impression was the exact opposite from yours. > > > > The phrase "removal" in the context of checkout does not click for > > me at all, and neither it does in the context of add, especially > > given that Git tracks states (i.e. snapshots), not changes. > > Thanks. What do you think of --skip-removals (or --skip-deletions)? > The idea is "among the changes that you would be making to the > worktree, skip any unlink() steps". Another option from rsync: --delete (and --no-delete of course) -- Duy