From: Junio C Hamano Date: Tue, 12 Mar 2019 06:32:25 GMT Subject: Re: [PATCH v5 1/1] worktree add: sanitize worktree names Message-ID: In-Reply-To: <20190311223936.GA24989@sigill.intra.peff.net> Jeff King writes: > Another option _is_ to actually make it reversible. I.e., use "%2e" > instead of ".", which would also necessitate replacing "%". I don't know > if that has a huge value for this use-case, but it's a nice property > that two sanitized names can't collide (unless they originally > identical). Yeah. That is a good property to have.