Skip to content

Commit

Permalink
Integrate openRepository function as an alternative fetch approach
Browse files Browse the repository at this point in the history
  • Loading branch information
soramimi committed Aug 12, 2024
1 parent 65d1cc8 commit 43ad794
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4768,12 +4768,16 @@ void MainWindow::on_action_commit_triggered()

void MainWindow::on_action_fetch_triggered()
{
#if 0
if (!isOnlineMode()) {
reopenRepository();
return;
}

fetch(git(), false);
#else
openRepository(false, true, false);
#endif
}

void MainWindow::on_action_fetch_prune_triggered()
Expand Down

0 comments on commit 43ad794

Please sign in to comment.