include added untracked files to to-record
Dependencies
- [2]
6F7Q4ZLRavoid unused warns - [3]
WXQBBQ2Aupdate nightly - [4]
PTWZYQFRuse nav-scrollable for repo status - [5]
7MJOO4E2task wrappers tooling workaround - [6]
WAOGSCOJvery nice refactor, wip adding channels logs - [7]
LFEMJYYDstart of to_record selection - [8]
5O4FWCFPadd tests to_record selection and improve it - [9]
YGZ3VCW4add push - [10]
YBJRDOTCmake all repo actions async - [11]
JZXYSIYDchannel selection! - [*]
6YZAVBWUInitial commit
Change contents
- edit in inflorescence_model/src/to_record.rs at line 172
}/// Add an untracked file to explicitly include in to-record if the overall/// state is partial or excludepub fn add_untracked_file_to_record(state: &mut State, path: file::Path) {if matches!(state.overall, PickSet::Exclude | PickSet::Partial) {state.files.insert(path, PickSet::Include);state.overall = PickSet::Partial;} - edit in inflorescence_model/src/to_record.rs at line 183
/// Remove an untracked file from to-recordpub fn rm_untracked_file_to_record(state: &mut State,path: &file::Path,changed_files: &repo::ChangedFiles,) {state.files.remove(path);state.overall = determine_overall_pick(state, changed_files);} - edit in inflorescence/src/main.rs at line 814
to_record, - edit in inflorescence/src/main.rs at line 850
// Add this file to to-recordto_record::add_untracked_file_to_record(to_record, path.clone()); - edit in inflorescence/src/main.rs at line 886
to_record, - edit in inflorescence/src/main.rs at line 927
// Rm this file from to-recordto_record::rm_untracked_file_to_record(to_record,path,&repo.changed_files,);