Commit Diff


commit - 9c485a117d54fcaae2d9cfc14cb90bbd5fbec161
commit + dada399a5c3d460b46744b7270bb9b07b44c42c8
blob - 8142c3b8fc02f3f31ff267de2ee7da1477729025
blob + 06bece745d95816368ea9f44a65448af4a28fcf0
--- got/got.c
+++ got/got.c
@@ -12787,8 +12787,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);
@@ -13068,7 +13069,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 {