File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ test_expect_success 'reset --merge fails with changes in file it touches' '
173
173
sed -e "s/line 1/changed line 1/" <file1 >file3 &&
174
174
mv file3 file1 &&
175
175
test_must_fail git reset --merge HEAD^ 2>err.log &&
176
- grep file1 err.log | grep "not uptodate "
176
+ grep file1 err.log | grep "not up to date "
177
177
'
178
178
179
179
# The next test will test the following:
@@ -189,7 +189,7 @@ test_expect_success 'reset --keep fails with changes in file it touches' '
189
189
sed -e "s/line 1/changed line 1/" <file1 >file3 &&
190
190
mv file3 file1 &&
191
191
test_must_fail git reset --keep HEAD^ 2>err.log &&
192
- grep file1 err.log | grep "not uptodate "
192
+ grep file1 err.log | grep "not up to date "
193
193
'
194
194
195
195
test_expect_success ' setup 3 different branches' '
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ static const char *unpack_plumbing_errors[NB_UNPACK_TREES_ERROR_TYPES] = {
29
29
"Entry '%s' would be overwritten by merge. Cannot merge." ,
30
30
31
31
/* ERROR_NOT_UPTODATE_FILE */
32
- "Entry '%s' not uptodate . Cannot merge." ,
32
+ "Entry '%s' is not up to date . Cannot merge." ,
33
33
34
34
/* ERROR_NOT_UPTODATE_DIR */
35
35
"Updating '%s' would lose untracked files in it" ,
@@ -44,7 +44,7 @@ static const char *unpack_plumbing_errors[NB_UNPACK_TREES_ERROR_TYPES] = {
44
44
"Entry '%s' overlaps with '%s'. Cannot bind." ,
45
45
46
46
/* ERROR_SPARSE_NOT_UPTODATE_FILE */
47
- "Entry '%s' not uptodate . Cannot update sparse checkout." ,
47
+ "Entry '%s' is not up to date . Cannot update sparse checkout." ,
48
48
49
49
/* ERROR_WOULD_LOSE_ORPHANED_OVERWRITTEN */
50
50
"Working tree file '%s' would be overwritten by sparse checkout update." ,
You can’t perform that action at this time.
0 commit comments