Skip to content

Commit a0b3b2a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4fa5c3e commit a0b3b2a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/subcommand/merge_subcommand.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,10 @@ void merge_subcommand::run()
324324
std::cout << "Already up-to-date" << std::endl;
325325
return;
326326
}
327-
else if (analysis & GIT_MERGE_ANALYSIS_UNBORN
328-
|| (analysis & GIT_MERGE_ANALYSIS_FASTFORWARD
329-
&& !(preference & GIT_MERGE_PREFERENCE_NO_FASTFORWARD)))
327+
else if (
328+
analysis & GIT_MERGE_ANALYSIS_UNBORN
329+
|| (analysis & GIT_MERGE_ANALYSIS_FASTFORWARD && !(preference & GIT_MERGE_PREFERENCE_NO_FASTFORWARD))
330+
)
330331
{
331332
if (analysis & GIT_MERGE_ANALYSIS_UNBORN)
332333
{

0 commit comments

Comments
 (0)