merge(3p/git): Merge git upstream at v2.26.2
This commit is contained in:
commit
5229c9b232
1006 changed files with 149006 additions and 60819 deletions
|
@ -382,4 +382,13 @@ test_expect_success 'check commit with unstaged rename and copy' '
|
|||
)
|
||||
'
|
||||
|
||||
test_expect_success 'commit without staging files fails and displays hints' '
|
||||
echo "initial" >file &&
|
||||
git add file &&
|
||||
git commit -m initial &&
|
||||
echo "changes" >>file &&
|
||||
test_must_fail git commit -m update >actual &&
|
||||
test_i18ngrep "no changes added to commit (use \"git add\" and/or \"git commit -a\")" actual
|
||||
'
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue