Subject: Re: [PATCH] Teach git-checkout-index to use file suffixes.

From: Shawn Pearce <[email-masked]>
Date: Thu, 2 Mar 2006 01:51:36 -0500

Mark Wooding <[email-masked]> wrote:
> Shawn Pearce <[email-masked]> 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.