From: Jon Seymour Date: Sun, 08 Aug 2010 13:18:22 GMT Subject: Re: [PATCH v3 9/9] Documentation: git stash branch now tolerates non-stash references. Message-ID: In-Reply-To: <1281242771-24764-10-git-send-email-jon.seymour@gmail.com> The next iteration will amend the synopsis as follows: -'git stash' show [] -'git stash' drop [-q|--quiet] [] -'git stash' ( pop | apply ) [--index] [-q|--quiet] [] -'git stash' branch [] +'git stash' show [] +'git stash' drop [-q|--quiet] [] +'git stash' pop [--index] [-q|--quiet] [] +'git stash' apply [--index] [-q|--quiet] [] +'git stash' branch [] with corresponding changes to the body. This will help clarify when a stash entry is required and when a stash-like commit can be used instead. On Sun, Aug 8, 2010 at 2:46 PM, Jon Seymour wrote: > Update the documentation to indicate that git stash branch only attempts > to drop the specified stash if it looks like stash reference. > > Signed-off-by: Jon Seymour > --- >  Documentation/git-stash.txt |    4 ++-- >  1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt > index 473889a..c7b7e4e 100644 > --- a/Documentation/git-stash.txt > +++ b/Documentation/git-stash.txt > @@ -115,8 +115,8 @@ branch []:: >        Creates and checks out a new branch named `` starting from >        the commit at which the `` was originally created, applies the >        changes recorded in `` to the new working tree and index, then > -       drops the `` if that completes successfully. When no `` > -       is given, applies the latest one. > +       drops the `` if that completes successfully and `` looks like a > +       stash the name of a stash list entry. When no `` is given, applies the latest one. >  + >  This is useful if the branch on which you ran `git stash save` has >  changed enough that `git stash apply` fails due to conflicts. Since > -- > 1.7.2.1.51.g82c0c0 > >