We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 546a9d8 commit 4b666e6Copy full SHA for 4b666e6
src/lib/src/core/index/pusher.rs
@@ -317,9 +317,6 @@ async fn get_commit_objects_to_sync(
317
.any(|remote_commit| remote_commit.id == commit.id)
318
});
319
} else {
320
- // TODO: This logic was already run as a check in cannot_push_incomplete history -
321
- // could likely get it down to 1x w/ a moderate refactor but it is not expensive
322
-
323
// Remote branch does not exist. Find commits to push with reference to whatever
324
// remote branch head comes first in the local newbranch history, aka what it was branched off of.
325
let branches: Vec<Branch> = api::remote::branches::list(remote_repo).await?;
0 commit comments