Re: [PATCH] git-stash: add new 'drop' subcommand
- From
- Marco 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
> + fiPlease, 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