We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9598e97 commit 79b1bedCopy full SHA for 79b1bed
1 file changed
src/repo.rs
@@ -3060,6 +3060,8 @@ impl Repository {
3060
}
3061
3062
/// Retrieve the name of the upstream remote of a local branch.
3063
+ ///
3064
+ /// `refname` must be in the form `refs/heads/{branch_name}`
3065
pub fn branch_upstream_remote(&self, refname: &str) -> Result<Buf, Error> {
3066
let refname = CString::new(refname)?;
3067
unsafe {
0 commit comments