File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1335,7 +1335,7 @@ def _apply_update(self) -> None: # noqa: C901
1335
1335
perms_sha_mode , path = line .split ("\t " )
1336
1336
perms , sha , _ = perms_sha_mode .split ()
1337
1337
input_lines .append (f"0 { '0' * 40 } \t { path } " )
1338
- input_lines .append (f"{ perms } { sha } 1 \t { path } " )
1338
+ input_lines .append (f"{ perms } { sha } 2 \t { path } " )
1339
1339
with suppress (ProcessExecutionError ):
1340
1340
# The following command will fail
1341
1341
# if the file did not exist in the previous version.
@@ -1344,7 +1344,7 @@ def _apply_update(self) -> None: # noqa: C901
1344
1344
"-w" ,
1345
1345
old_path / normalize_git_path (path ),
1346
1346
).strip ()
1347
- input_lines .append (f"{ perms } { old_sha } 2 \t { path } " )
1347
+ input_lines .append (f"{ perms } { old_sha } 1 \t { path } " )
1348
1348
with suppress (ProcessExecutionError ):
1349
1349
# The following command will fail
1350
1350
# if the file was deleted in the latest version.
You can’t perform that action at this time.
0 commit comments