refresh repo after add/rm untracked dir

tzemanovic
Jan 26, 2026, 7:54 PM
MOT64WLLAY5FQCF3IZTBSPBLHOAIELM2JYZF2CZ6E3P5UYUILGSAC

Dependencies

Change contents

  • edit in inflorescence/src/main.rs at line 828
    [5.340]
    [2.5329]
    // If we started tracking a dir it might have contents, so refresh to find them
    if path.is_dir {
    state
    .repo_tx_in
    .send(repo::MsgIn::RefreshChangedAndUntrackedFiles)
    .unwrap();
    }
  • edit in inflorescence/src/main.rs at line 901
    [4.2882]
    [5.1336]
    // If we removed added dir it might have contents, so refresh to to hide them again
    if path.is_dir {
    state
    .repo_tx_in
    .send(repo::MsgIn::RefreshChangedAndUntrackedFiles)
    .unwrap();
    }