From: Junio C Hamano Date: Tue, 06 Dec 2011 21:40:17 GMT Subject: Re: [PATCHv2 0/13] credential helpers Message-ID: <7v7h29fkfy.fsf@alter.siamese.dyndns.org> In-Reply-To: <20111206062127.GA29046@sigill.intra.peff.net> Jeff King writes: > ... You can now > do: "git credential-store erase (since you have provided no restrictions, it matches everything). That "justification" does not sound so true to me but perhaps that is because it is unclear what "erase" means and what it means to give the operation parameters. When I see "erase $foo", I would find it natural if $foo meant "if there is something that matches $foo, then please remove it, but keep everything else intact", and not the other way around "Match the existing entries against a pattern (or a set of matching patterns) I am giving you, and drop all the rest". So if I happen to give you an empty set, I would expect nothing is removed. Perhaps the root cause of the issue is that you are treating the input as "restriction" instead of something that produces "positive matches"? Confused.