Commit Diff


commit - ac0a4dfc3547f38c3fe0544f329f3c7bded24010
commit + efcfe9187f7bcd4faecb4eabda86f3a921c62387
blob - 0685c98825a1a25a87beda8b3db3f24546a7fab3
blob + 5775865ce9bc5a0a9f5d8638ed832cf4ef970d67
--- got/got.c
+++ got/got.c
@@ -12788,8 +12788,9 @@ cmd_histedit(int argc, char *argv[])
 		error = get_gitconfig_path(&gitconfig_path);
 		if (error)
 			goto done;
-		error = got_repo_open(&repo, got_worktree_get_repo_path(worktree),
-		    gitconfig_path, pack_fds);
+		error = got_repo_open(&repo,
+		    got_worktree_get_repo_path(worktree), gitconfig_path,
+		    pack_fds);
 		if (error != NULL)
 			goto done;
 		error = get_editor(&editor);
@@ -13069,7 +13070,8 @@ cmd_histedit(int argc, char *argv[])
 				if (have_changes) {
 					error = histedit_commit(NULL, worktree,
 					    fileindex, tmp_branch, hle,
-					    committer, allow_conflict, editor, repo);
+					    committer, allow_conflict, editor,
+					    repo);
 					if (error)
 						goto done;
 				} else {