Re: [PATCH v3 3/5] stash: add test for the create command line arguments

2017-02-11 Thread Thomas Gummerer
On 02/06, Jeff King wrote: > On Sun, Feb 05, 2017 at 08:26:40PM +, Thomas Gummerer wrote: > > > +test_expect_success 'create stores correct message' ' > > + >foo && > > + git add foo && > > + STASH_ID=$(git stash create "create test message") && > > + echo "On master: create test

Re: [PATCH v3 3/5] stash: add test for the create command line arguments

2017-02-06 Thread Jeff King
On Sun, Feb 05, 2017 at 08:26:40PM +, Thomas Gummerer wrote: > +test_expect_success 'create stores correct message' ' > + >foo && > + git add foo && > + STASH_ID=$(git stash create "create test message") && > + echo "On master: create test message" >expect && > + git show

[PATCH v3 3/5] stash: add test for the create command line arguments

2017-02-05 Thread Thomas Gummerer
Currently there is no test showing the expected behaviour of git stash create's command line arguments. Add a test for that to show the current expected behaviour and to make sure future refactorings don't break those expectations. Signed-off-by: Thomas Gummerer ---