Skip to main content

current_refspec

Function current_refspec 

Source
pub fn current_refspec(cwd: &Path) -> Option<String>
Expand description

Resolve the refspec to send with lock-API requests, or None if the working tree is on a detached HEAD.