We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a1c92d commit f35dd8fCopy full SHA for f35dd8f
src/repo.rs
@@ -1222,7 +1222,7 @@ impl Repository {
1222
/// `Repository::find_reference` with teeth; give the method your reference in
1223
/// human-readable format e.g. 'master' instead of 'refs/heads/master', and it
1224
/// will do-what-you-mean, returning the `Reference`.
1225
- pub fn find_reference_dwim(&self, refname: &str) -> Result<Reference, Error> {
+ pub fn resolve_reference_from_short_name(&self, refname: &str) -> Result<Reference, Error> {
1226
let refname = try!(CString::new(refname));
1227
let mut raw = ptr::null_mut();
1228
unsafe {
0 commit comments