fix log changes selection

[?]
May 6, 2025, 5:59 PM
UJPRF6DASB6TLFQSUZETOMCUVXIE5TXMCKWXMZR5SNE3IYCX4PMQC

Dependencies

Change contents

  • edit in crates/inflorescence/src/main.rs at line 460
    [8.6185]
    [8.6185]
    } else if !repo.log.is_empty() {
    let ix = repo.log.len() - 1;
    Some(log_selection(repo, ix))
  • replacement in crates/inflorescence/src/main.rs at line 582
    [3.10681][8.9072:9132]()
    if !repo.changed_files.is_empty() {
    [3.10681]
    [3.11056]
    if !repo.log.is_empty() {
    let ix = repo.log.len() - 1;
    Some(log_selection(repo, ix))
    } else if !repo.changed_files.is_empty() {
  • replacement in crates/inflorescence/src/main.rs at line 649
    [4.6175][7.4851:4911]()
    cursor::Select::Change { hash } => todo!(),
    [4.6175]
    [6.10915]
    cursor::Select::LogChange { ix, hash } => {
    cursor::Selection::LogChange {
    ix,
    hash,
    file: None,
    }
    }
  • replacement in crates/inflorescence/src/main.rs at line 1195
    [7.5390][7.5390:5458]()
    cursor::Select::Change { hash: *hash },
    [7.5390]
    [7.5458]
    cursor::Select::LogChange { ix, hash: *hash },
  • replacement in crates/inflorescence/src/cursor.rs at line 39
    [5.3191][7.5920:5954]()
    Change { hash: pijul::Hash },
    [5.3191]
    [2.188]
    LogChange { ix: usize, hash: pijul::Hash },