From: Jeff King Date: Sat, 30 Jun 2007 06:12:37 GMT Subject: Re: [PATCH (3rd try)] Add git-stash script 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 [...] > +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