pub fn current_checkout(self) -> GitFuture<'io, Option<String>> {
        Box::new(
            self.spawn_with(|c| c.arg("rev-parse").arg("--revs-only").arg("HEAD^{commit}"))
                .map(|raw| raw.lines().take(1).map(String::from).next()),
        )
    }
/// Determine the currently checked out revision.
Determine the currently checked out revision.
Determine the currently checked out revision .
pub fn current_checkout(self) -> GitFuture<'io, Option<String>> {
        Box::new(
            self.spawn_with(|c| c.arg("rev-parse").arg("--revs-only").arg("HEAD^{commit}"))
                .map(|raw| raw.lines().take(1).map(String::from).next()),
        )
    }
pub fn current_checkout ( self ) -> GitFuture < ' io , Option < String > > { Box :: new ( self . spawn_with ( | c | c . arg ( " " ) . arg ( " " ) . arg ( " " ) ) . map ( | raw | raw . lines ( ) . take ( 1 ) . map ( String :: from ) . next ( ) ) , ) }
Determine the currently checked out revision.
Determine the currently checked out revision .
self
self