Re: [PATCH] stash: handle specifying stashes with spaces

2013-11-30 Thread Eric Sunshine
On Fri, Nov 29, 2013 at 2:22 PM, Øystein Walle wrote: > diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh > index debda7a..0568ec5 100755 > --- a/t/t3903-stash.sh > +++ b/t/t3903-stash.sh > @@ -673,4 +673,15 @@ test_expect_success 'store updates stash ref and reflog' > ' > grep quux bazzy

Re: [PATCH] stash: handle specifying stashes with spaces

2013-11-29 Thread Thomas Rast
Øystein Walle writes: > When trying to pop/apply a stash specified with an argument containing > spaces the user will see an error: > > $ git stash pop 'stash@{two hours ago}' > Too many revisions specified: stash@{two hours ago} > > This happens because word splitting is used to count no

[PATCH] stash: handle specifying stashes with spaces

2013-11-29 Thread Øystein Walle
When trying to pop/apply a stash specified with an argument containing spaces the user will see an error: $ git stash pop 'stash@{two hours ago}' Too many revisions specified: stash@{two hours ago} This happens because word splitting is used to count non-option arguments. Instead shift th