Skip to content

Commit

Permalink
wip handle push
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunarequest committed Jan 26, 2024
1 parent f4e0e78 commit 25a8a05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/git/push.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ pub fn git_push(repo: &Repository) -> Result<()> {
.map_err(|_| git2::Error::from_str("failed to resolve remote origin"))?;

let mut push_options = PushOptions::new();

remote.push(
&[&format!("refs/heads/{}", head.shorthand().unwrap())],
Some(&mut push_options),
Expand Down

0 comments on commit 25a8a05

Please sign in to comment.