git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-stash: add new 'drop' subcommand

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Jan 5, 2008, 12:36 UTC
Message-ID
<e5bfff550801050436k61760cv9cf5c04c537907d6@mail.gmail.com>
In-Reply-To
<477EDDD4.5060509@nrlssc.navy.mil>
On Jan 5, 2008 2:31 AM, Brandon Casey <casey@nrlssc.navy.mil> wrote:
Show 8 quoted lines
>
>
> +drop_stash () {
> +       if ! have_stash
> +       then
> +               echo >&2 'No stash entries to drop'
> +               exit 0
> +       fi
Please, or
> +               echo >&2 'No stash entries to drop'
> +               exit 1
or
> +               echo 'No stash entries to drop'
> +               exit 0
I would prefer the latter.

Thanks Marco

Previous: Jeff King
Message 8 of 8 in “git-stash: add new 'drop' subcommand”
  1. git-stash: add new 'drop' subcommandBrandon Casey, Jan 5, 2008
  2. Junio C HamanoJan 5, 2008
  3. Brandon CaseyJan 5, 2008
  4. Jeff KingJan 5, 2008
  5. JM IbanezJan 5, 2008
  6. git-stash clear: refuse to work with extra parameter for nowJunio C Hamano, Jan 5, 2008
  7. Jeff KingJan 5, 2008
  8. Marco CostalbaJan 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.