1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::wrap_command::WrapCommand; use crate::git; mod options; pub use options::*; pub const GIT_COMMAND: &str = "rev-parse"; /// Pick out and massage parameters. /// [Git doc](https://git-scm.com/docs/git-rev-parse) pub fn rev_parse() -> WrapCommand { git(GIT_COMMAND) }