The Git feature does not need to be async

pmeunier
Jul 28, 2021, 4:09 PM
VGBH3ED6NZPQFNXHS4R3J2QIPN5WP4SUMCYQLBER3CV3AGCVHJJQC

Dependencies

  • [2] NEJOYVJB Fixing the Git feature
  • [3] JL4WKA5P Implement the Sanakirja concurrency model in a cross-process way
  • [4] IIV3EL2X Cleanup, formatting, and fixing the Git feature
  • [5] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [6] BJOZ25EU Deterministic Git import
  • [7] MU3NL6MD Fixing `pijul git` with the new Sanakirja

Change contents

  • replacement in pijul/src/commands/git.rs at line 43
    [3.138045][3.14235:14293]()
    pub async fn run(self) -> Result<(), anyhow::Error> {
    [3.138045]
    [2.0]
    pub fn run(self) -> Result<(), anyhow::Error> {
  • replacement in pijul/src/commands/git.rs at line 47
    [3.138216][3.14385:14445]()
    Repository::init(self.repo_path.clone()).await?
    [3.138216]
    [3.138270]
    Repository::init(self.repo_path.clone())?
  • replacement in pijul/src/commands/git.rs at line 88
    [3.139131][3.14446:14506]()
    import(&git, &mut env_git, &mut repo, &dag).await?;
    [3.139131]
    [3.139185]
    import(&git, &mut env_git, &mut repo, &dag)?;
  • replacement in pijul/src/commands/git.rs at line 243
    [3.143830][3.14507:14524]()
    async fn import(
    [3.143830]
    [3.143841]
    fn import(