Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/desktop/src/components/BranchesView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
}
});

async function checkoutBranch() {
async function checkoutBranch() { // This can probably be used in the modal to checkout an existing branch.
const { branchName, remote, prNumber, hasLocal } = branchesState.current;
const remoteRef = remote ? `refs/remotes/${remote}/${branchName}` : undefined;
const branchRef = hasLocal ? `refs/heads/${branchName}` : remoteRef;
Expand Down
Loading