Skip to content

Commit cdcf5b9

Browse files
authored
rebase: formatting fixes
1 parent 8fa5881 commit cdcf5b9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/libgit2/rebase.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,12 @@ static int rebase_state_type(
111111
if (git_fs_path_isdir(git_str_cstr(&path))) {
112112
if (git_str_joinpath(&interactive_path, path.ptr, INTERACTIVE_FILE) < 0)
113113
return -1;
114-
if (git_fs_path_isfile(interactive_path.ptr)) {
114+
115+
if (git_fs_path_isfile(interactive_path.ptr))
115116
type = GIT_REBASE_INTERACTIVE;
116-
} else {
117+
else
117118
type = GIT_REBASE_MERGE;
118-
}
119+
119120
goto done;
120121
}
121122

0 commit comments

Comments
 (0)