Commit 304a7738 authored by Ben Boeckel's avatar Ben Boeckel

prepare: expose a method to cd to the work tree

parent 9a2f9299
Pipeline #43721 passed with stage
......@@ -603,6 +603,11 @@ impl PreparedGitWorkArea {
/// Run a command from the work tree root.
pub fn cd_to_work_tree<'a>(&self, cmd: &'a mut Command) -> &'a mut Command {
/// The path to the git repository.
pub fn gitdir(&self) -> &Path {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment