Skip to content

Commit 84e39e4

Browse files
committed
fix formatting
1 parent fb614e0 commit 84e39e4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/repo.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -3138,17 +3138,13 @@ impl Repository {
31383138

31393139
/// Retrieve the upstream merge of a local branch,
31403140
/// configured in "branch.*.merge"
3141-
///
3141+
///
31423142
/// `refname` must be in the form `refs/heads/{branch_name}`
31433143
pub fn branch_upstream_merge(&self, refname: &str) -> Result<Buf, Error> {
31443144
let refname = CString::new(refname)?;
31453145
unsafe {
31463146
let buf = Buf::new();
3147-
try_call!(raw::git_branch_upstream_merge(
3148-
buf.raw(),
3149-
self.raw,
3150-
refname
3151-
));
3147+
try_call!(raw::git_branch_upstream_merge(buf.raw(), self.raw, refname));
31523148
Ok(buf)
31533149
}
31543150
}

0 commit comments

Comments
 (0)