reload ignore file if it changes
Dependencies
- [2]
YBJRDOTCmake all repo actions async - [3]
UMO6U2ZTpartition the change files diffs on whether they have content - [4]
OQ6HSAWHshow record log - [5]
YHSLU5AMupdate .ignore - [6]
LPSUBGUBadd projects picker - [7]
SEJXDXPWimprove file watcher to respect .ignore file - [8]
W7IUT3ZVstart recording impl - [9]
JZXYSIYDchannel selection! - [10]
YRGDFHABproject dir picker - [11]
SWWE2R6Mdisplay basic repo stuff - [12]
ZVI4AWERwoot contents_diff - [*]
6YZAVBWUInitial commit
Change contents
- edit in libflorescence/src/repo.rs at line 38
pub const IGNORE_FILE: &str = ".ignore"; - edit in libflorescence/src/repo.rs at line 40
pub const PIJUL_DIR: &str = ".pijul";pub const GIT_DIR: &str = ".git"; - edit in libflorescence/src/repo.rs at line 45[6.12340]→[6.12340:12404](∅→∅),[4.80]→[2.97:98](∅→∅),[3.89]→[2.97:98](∅→∅),[6.12404]→[2.97:98](∅→∅),[2.97]→[2.97:98](∅→∅)
const PIJUL_DIR: &str = ".pijul";const GIT_DIR: &str = ".git"; - replacement in inflorescence/src/main.rs at line 231
let (ignore, ignore_err) = Gitignore::new(repo_path.join(".ignore"));let (ignore, ignore_err) =Gitignore::new(repo_path.join(repo::IGNORE_FILE)); - edit in inflorescence/src/main.rs at line 588
// Reload ignore file if it's changedlet repo_ignore_file = model.repo_path.join(repo::IGNORE_FILE);if path == repo_ignore_file {let (ignore, ignore_err) = Gitignore::new(repo_ignore_file);if let Some(err) = ignore_err {let msg = format!("Error loading .ignore file {err:?}");error!("{msg}");report::show_err(report, msg);}state.ignore = ignore;}// Check if the files is not ignored