gitbutler/crates/gitbutler-repo
Chooooooo f178c4fed4
Update read_file_from_workspace logic
- Refactor `read_file_from_workspace` to separate `HEAD^{tree}` lookup logic
- Add new `read_file_from_tree` function to handle both `HEAD^{tree}` and specific commit lookups
- Add edge case handling for querying files from a specific commit in `read_file_from_workspace`
- Add conditions to handle modified or deleted files in worktree
- Improve file status handling with new `FileStatus` enum
- Update `FileInfo` struct to include file status information
2024-10-15 21:26:39 +09:00
..
src Update read_file_from_workspace logic 2024-10-15 21:26:39 +09:00
tests Introduce merge_base_octopussy 2024-10-02 14:59:11 +02:00
Cargo.toml Add preview support for untracked binary files 2024-10-15 03:31:28 +09:00