From: Thomas Gummerer Date: Sun, 19 Feb 2017 09:17:14 GMT Subject: Re: [PATCH v5 3/6] stash: refactor stash_create Message-ID: <20170219091714.GJ652@hank> In-Reply-To: <20170217234805.glvhyfbxab6nwgb7@sigill.intra.peff.net> On 02/17, Jeff King wrote: > On Fri, Feb 17, 2017 at 10:41:38PM +0000, Thomas Gummerer wrote: > > > Refactor the internal stash_create function to use a -m flag for > > specifying the message and -u flag to indicate whether untracked files > > should be added to the stash. > > > > This makes it easier to pass a pathspec argument to stash_create in the > > next patch. > > > > The user interface for git stash create stays the same. > > Sounds good, but... > > > diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt > > index 2e9cef06e6..d93c47446a 100644 > > --- a/Documentation/git-stash.txt > > +++ b/Documentation/git-stash.txt > > @@ -17,6 +17,7 @@ SYNOPSIS > > [-u|--include-untracked] [-a|--all] []] > > 'git stash' clear > > 'git stash' create [] > > +'git stash' create [-m ] [-u|--include-untracked ] > > 'git stash' store [-m|--message ] [-q|--quiet] > > Should this hunk be dropped from the manpage, then? > > I think there is a similar one in the next patch that adds the > "pathspec" argument, and should be dropped, too. Argh yes I should have been more careful. Thanks for catching. > -Peff