Re: [PATCH (3rd try)] Add git-stash script
- From
Jeff King <peff@peff.net>
- Date
- Jun 30, 2007, 06:12 UTC
- Message-ID
- <20070630061237.GA14344@coredump.intra.peff.net>
- In-Reply-To
- <200706300539.l5U5dHLh003989@mi1.bluebottle.com>
On Sat, Jun 30, 2007 at 02:37:09PM +0900, しらいしななこ wrote:
> +ref_stash=refs/stash
[...]
Show 8 quoted lines
> +save_stash () {
> + if no_changes
> + then
> + echo >&2 'No local changes to save'
> + exit 0
> + fi
> + test -f "$GIT_DIR/logs/refs/stash" ||
> + clear_stash || die "Cannot initialize stash"Nit: this should be .../logs/$ref_stash
-Peff