git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Marco Costalba" <mcostalba@gmail.com>
To: "Brandon Casey" <casey@nrlssc.navy.mil>
Cc: "Pascal Obry" <pascal@obry.net>,
	"Junio C Hamano" <gitster@pobox.com>,
	"Git Mailing List" <git@vger.kernel.org>
Subject: Re: [PATCH] git stash: one bug and one feature request
Date: Fri, 4 Jan 2008 19:05:35 +0100	[thread overview]
Message-ID: <e5bfff550801041005x3ab682dam8535c7bde75038dc@mail.gmail.com> (raw)
In-Reply-To: <477E7439.9090209@nrlssc.navy.mil>

On Jan 4, 2008 7:00 PM, Brandon Casey <casey@nrlssc.navy.mil> wrote:
> Marco Costalba wrote:
> > Ok, drop is better then clear, but, if we need to add a new command I
> > vote for 'delete' or 'rm' to be consistent with git naming.
>
> If the stash list is thought of as a stack, then drop makes sense.
>

Yes, but is _not_ as a stack because you can say

git stash apply stash@{3}
git stash apply stash@{1}
git stash apply stash@{4}

i.e. you can access reflogs in any order, so thinking to a stack is
misleading IMHO.

Marco

  reply	other threads:[~2008-01-04 18:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 16:14 [PATCH] git stash: one bug and one feature request Marco Costalba
2008-01-04 16:36 ` Brandon Casey
2008-01-04 17:30   ` Pascal Obry
2008-01-04 17:51     ` Jakub Narebski
2008-01-04 19:36       ` Brian Swetland
2008-01-04 21:04       ` Jeff King
     [not found]     ` <e5bfff550801040944p7f8e722asfa726b34a4a712fa@mail.gmail.com>
2008-01-04 18:00       ` Brandon Casey
2008-01-04 18:05         ` Marco Costalba [this message]
2008-01-04 18:34           ` Brandon Casey
2008-01-04 18:46             ` Marco Costalba
2008-01-05  0:31               ` Junio C Hamano
2008-01-05  0:29 ` Junio C Hamano
2008-01-05  8:25   ` Marco Costalba
2008-01-05  8:36     ` Junio C Hamano
2008-01-05  8:57       ` Marco Costalba
2008-01-05  9:06     ` Junio C Hamano
2008-01-05  6:41 ` Wayne Davison
2008-01-05  6:52   ` Junio C Hamano
2008-01-05  8:31     ` Marco Costalba

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=e5bfff550801041005x3ab682dam8535c7bde75038dc@mail.gmail.com \
    --to=mcostalba@gmail.com \
    --cc=casey@nrlssc.navy.mil \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=pascal@obry.net \
    /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).