Skip to content

Commit 4b666e6

Browse files
committed
remove to-do that is now to-done
1 parent 546a9d8 commit 4b666e6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib/src/core/index/pusher.rs

-3
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,6 @@ async fn get_commit_objects_to_sync(
317317
.any(|remote_commit| remote_commit.id == commit.id)
318318
});
319319
} 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-
323320
// Remote branch does not exist. Find commits to push with reference to whatever
324321
// remote branch head comes first in the local newbranch history, aka what it was branched off of.
325322
let branches: Vec<Branch> = api::remote::branches::list(remote_repo).await?;

0 commit comments

Comments
 (0)