git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Pearce <spearce@spearce.org>
To: git@vger.kernel.org
Subject: Re: [PATCH] Teach git-checkout-index to use file suffixes.
Date: Thu, 2 Mar 2006 01:51:36 -0500	[thread overview]
Message-ID: <20060302065136.GA6377@spearce.org> (raw)
In-Reply-To: <slrne0bh1p.fr9.mdw@metalzone.distorted.org.uk>

Mark Wooding <mdw@distorted.org.uk> wrote:
> Shawn Pearce <spearce@spearce.org> 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.

  reply	other threads:[~2006-03-02  6:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01  4:41 [PATCH] Teach git-checkout-index to use file suffixes Shawn Pearce
2006-03-01 15:06 ` Shawn Pearce
2006-03-01 15:56   ` Mark Wooding
2006-03-02  6:51     ` Shawn Pearce [this message]
2006-03-02  7:59       ` Junio C Hamano
2006-03-02 17:10         ` Shawn Pearce

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060302065136.GA6377@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).