Commit cdcf5b9ca2396f7741bede6f0eda78c5aaa54ae7

Edward Thomson 2022-07-06T23:19:28

rebase: formatting fixes

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/libgit2/rebase.c b/src/libgit2/rebase.c
index c3acfd5..5e48f0d 100644
--- a/src/libgit2/rebase.c
+++ b/src/libgit2/rebase.c
@@ -111,11 +111,12 @@ static int rebase_state_type(
 	if (git_fs_path_isdir(git_str_cstr(&path))) {
 		if (git_str_joinpath(&interactive_path, path.ptr, INTERACTIVE_FILE) < 0)
 			return -1;
-		if (git_fs_path_isfile(interactive_path.ptr)) {
+
+		if (git_fs_path_isfile(interactive_path.ptr))
 			type = GIT_REBASE_INTERACTIVE;
-		} else {
+		else
 			type = GIT_REBASE_MERGE;
-		}
+
 		goto done;
 	}