Updating `pijul git` with the latest Sanakirja

pmeunier
Feb 7, 2024, 4:25 PM
AAAMZY4V64NAAMAXTSPUU7SAYLBJRISICA7RBWXWFMXHVFZQRHPAC

Dependencies

  • [2] GUL4M5FI Cleanup and formatting
  • [3] USQMBKTP Replace deprecated chrono function
  • [4] IIV3EL2X Cleanup, formatting, and fixing the Git feature
  • [5] I52XSRUH Massive cleanup, and simplification
  • [6] NEJOYVJB Fixing the Git feature
  • [7] YPMGKDPC Solving a conflict
  • [8] BJOZ25EU Deterministic Git import
  • [9] HWH4WWN3 Proper separation of Git commit messages into a message and description fields in changes
  • [10] FAOGX7G3 Outputting the repo after the last Git import
  • [11] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).

Change contents

  • replacement in pijul/src/commands/git.rs at line 140
    [4.140110][4.368:453]()
    let db: ::sanakirja::btree::UDb<Oid, libpijul::pristine::SerializedMerkle> =
    [4.140110]
    [4.453]
    let db: ::sanakirja::btree::UDb<Oid, libpijul::pristine::SerializedMerkle> = unsafe {
  • replacement in pijul/src/commands/git.rs at line 145
    [4.639][4.639:654]()
    };
    [4.639]
    [4.45]
    }
    };
  • replacement in pijul/src/commands/git.rs at line 178
    [4.141382][4.902:938]()
    txn_git.set_root(0, db.db);
    [4.141382]
    [4.141415]
    txn_git.set_root(0, db.db.into());
  • replacement in pijul/src/commands/git.rs at line 372
    [4.147840][4.1129:1214]()
    let mut db: ::sanakirja::btree::UDb<Oid, libpijul::pristine::SerializedMerkle> =
    [4.147840]
    [4.1214]
    let mut db: ::sanakirja::btree::UDb<Oid, libpijul::pristine::SerializedMerkle> = unsafe {
  • replacement in pijul/src/commands/git.rs at line 377
    [4.1376][4.1376:1387]()
    };
    [4.1376]
    [4.1387]
    }
    };
  • replacement in pijul/src/commands/git.rs at line 380
    [4.1463][4.1463:1491]()
    txn.set_root(0, db.db);
    [4.1463]
    [4.148111]
    txn.set_root(0, db.db.into());
  • replacement in pijul/src/commands/git.rs at line 764
    [4.487][4.158992:159043](),[2.1476][4.158992:159043](),[4.158992][4.158992:159043]()
    timestamp: chrono::DateTime::from_utc(
    [2.1476]
    [3.50]
    timestamp: chrono::DateTime::from_naive_utc_and_offset(