pub fn command(self, subcommand: &str) -> Command {
        let mut cmd = Command::new(&self.sess.sess.config.git);
        cmd.arg(subcommand);
        cmd.current_dir(&self.path);
        cmd
    }
/// Create a new git command.
///
/// The command will have the form `git <subcommand>` and be pre-configured
/// to operate in the repository's path.
Create a new git command.
The command will have the form `git ` and be pre-configured
to operate in the repository's path.
Create a new git command . The command will have the form ` git ` and be pre - configured to operate in the repository ' s path .
pub fn command(self, subcommand: &str) -> Command {
        let mut cmd = Command::new(&self.sess.sess.config.git);
        cmd.arg(subcommand);
        cmd.current_dir(&self.path);
        cmd
    }
pub fn command ( self , subcommand : & str ) -> Command { let mut cmd = Command :: new ( & self . sess . sess . config . git ) ; cmd . arg ( subcommand ) ; cmd . current_dir ( & self . path ) ; cmd }
Create a new git command.
Create a new git command .
self
subcommand
&str
self
subcommand
&str