From: Shawn Pearce Date: Thu, 02 Mar 2006 06:51:36 GMT Subject: Re: [PATCH] Teach git-checkout-index to use file suffixes. Message-ID: <20060302065136.GA6377@spearce.org> In-Reply-To: Mark Wooding wrote: > Shawn Pearce wrote: > > > I thought about using instead: > > > > --stage=all --suffix1=\#1 --suffix2\=#2 --suffix3=\#3 > > How about something like > > --suffixes=:#1:#2:#3 > > uses first character as a delimiter to separate the suffixes. A single > --suffix option could plausibly provide the suffix if only one stage is > being checked out, and doesn't have the grim delimiter wart. Why let the user choose? '/' shouldn't be permitted as that (possibly) would try to create a directory also named the same as the file (a bad thing). Then its just two formats, depending on if you want all stages or just 1 stage: --stage=all --suffix=#1/#2/#3 or --stage=1 --suffix=#1 ? -- Shawn.