Skip to content

Commit d3f464c

Browse files
committed
hackorum-patch: always place metadata in .hackorum, even on error
1 parent a0ec86e commit d3f464c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

public/scripts/hackorum-patch

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,13 @@ class HackorumPatch
8181
create_branch(base_commit)
8282
end
8383

84+
copy_files_to_git_dir(patch_files)
85+
8486
if @using_diff_mode
8587
apply_diffs(patch_files)
8688
else
8789
apply_patches(patch_files)
8890
end
89-
copy_files_to_git_dir(patch_files)
9091
cleanup_temp_files
9192

9293
print_success_message(use_worktree ? worktree_path : nil)

0 commit comments

Comments
 (0)