Function branchless::restack::restack[][src]

pub fn restack(
    out: &mut impl Write,
    err: &mut impl Write,
    git_executable: &GitExecutable<'_>
) -> Result<isize>

Restack all abandoned commits.

Args:

  • out: The output stream to write to.
  • err: The error stream to write to.
  • git_executable: The path to the git executable on disk.

Returns: Exit code (0 denotes successful exit).