We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
apply
am
1 parent ab04367 commit c474cceCopy full SHA for c474cce
1 file changed
extract_utils/fixups_blob.py
@@ -286,7 +286,10 @@ def git_add_files(files: List[str]):
286
287
for patch in patches:
288
try:
289
- run_cmd(['git', 'am', '--reject', patch])
+ run_cmd(['git', 'apply', '--reject', patch])
290
+ patch_files = self.__get_patch_affected_files(patch)
291
+ git_add_files(patch_files)
292
+ run_cmd(['git', 'commit', '-m', f'Apply: "{patch}"'])
293
except ValueError as e:
294
color_print(
295
f'Failed to apply patch {patch}',
0 commit comments