From: Junio C Hamano Date: Tue, 16 May 2006 06:48:04 GMT Subject: Re: [PATCH 1/2] Handle branch names with slashes Message-ID: <7v64k6ea8r.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060516063541.GA11218@backpacker.hemma.treskal.com> Karl Hasselström writes: > Teach stgit to handle branch names with slashes in them; that is, > branches living in a subdirectory of .git/refs/heads. > > I had to change the patch@branch/top command-line syntax to > patch@branch%top, in order to get sane parsing. The /top variant is > still available for repositories that have no slashy branches; it is > disabled as soon as there exists at least one subdirectory of > refs/heads. Preferably, this compatibility hack can be killed some > time in the future. I wonder if using double-slashes is an easier alternative to type than '%', like "patch@branch//top". That way, you do not have to forbid per-cent sign in branch names.