@@ -604,7 +604,7 @@ test_expect_success 'stash show -p - no stashes on stack, stash-like argument' '
604
604
test_cmp expected actual
605
605
'
606
606
607
- test_expect_success ' stash drop - fail early if specified stash is not a stash reference ' '
607
+ test_expect_success ' drop: fail early if specified stash is not a stash ref ' '
608
608
git stash clear &&
609
609
test_when_finished "git reset --hard HEAD && git stash clear" &&
610
610
git reset --hard &&
@@ -618,7 +618,7 @@ test_expect_success 'stash drop - fail early if specified stash is not a stash r
618
618
git reset --hard HEAD
619
619
'
620
620
621
- test_expect_success ' stash pop - fail early if specified stash is not a stash reference ' '
621
+ test_expect_success ' pop: fail early if specified stash is not a stash ref ' '
622
622
git stash clear &&
623
623
test_when_finished "git reset --hard HEAD && git stash clear" &&
624
624
git reset --hard &&
@@ -682,7 +682,7 @@ test_expect_success 'invalid ref of the form "n", n >= N' '
682
682
git stash drop
683
683
'
684
684
685
- test_expect_success ' stash branch should not drop the stash if the branch exists' '
685
+ test_expect_success ' branch: do not drop the stash if the branch exists' '
686
686
git stash clear &&
687
687
echo foo >file &&
688
688
git add file &&
@@ -693,7 +693,7 @@ test_expect_success 'stash branch should not drop the stash if the branch exists
693
693
git rev-parse stash@{0} --
694
694
'
695
695
696
- test_expect_success ' stash branch should not drop the stash if the apply fails' '
696
+ test_expect_success ' branch: should not drop the stash if the apply fails' '
697
697
git stash clear &&
698
698
git reset HEAD~1 --hard &&
699
699
echo foo >file &&
@@ -707,7 +707,7 @@ test_expect_success 'stash branch should not drop the stash if the apply fails'
707
707
git rev-parse stash@{0} --
708
708
'
709
709
710
- test_expect_success ' stash apply shows status same as git status (relative to current directory )' '
710
+ test_expect_success ' apply: show same status as git status (relative to ./ )' '
711
711
git stash clear &&
712
712
echo 1 >subdir/subfile1 &&
713
713
echo 2 >subdir/subfile2 &&
@@ -1048,7 +1048,7 @@ test_expect_success 'stash push -p with pathspec shows no changes only once' '
1048
1048
test_i18ncmp expect actual
1049
1049
'
1050
1050
1051
- test_expect_success ' stash push with pathspec shows no changes when there are none' '
1051
+ test_expect_success ' push < pathspec>: show no changes when there are none' '
1052
1052
>foo &&
1053
1053
git add foo &&
1054
1054
git commit -m "tmp" &&
@@ -1058,7 +1058,7 @@ test_expect_success 'stash push with pathspec shows no changes when there are no
1058
1058
test_i18ncmp expect actual
1059
1059
'
1060
1060
1061
- test_expect_success ' stash push with pathspec not in the repository errors out' '
1061
+ test_expect_success ' push: < pathspec> not in the repository errors out' '
1062
1062
>untracked &&
1063
1063
test_must_fail git stash push untracked &&
1064
1064
test_path_is_file untracked
0 commit comments