Skip to content

Commit

Permalink
Fix untracked statuses not propagating
Browse files Browse the repository at this point in the history
Co-authored-by: Mikayla <[email protected]>
  • Loading branch information
cole-miller and mikayla-maki committed Jan 3, 2025
1 parent fcb06c0 commit 1bd2696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/worktree/src/worktree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3774,7 +3774,7 @@ impl GitStatuses {
Some(GitFileStatus::Conflict)
} else if self.modified > 0 {
Some(GitFileStatus::Modified)
} else if self.added > 0 {
} else if self.added > 0 || self.untracked > 0 {
Some(GitFileStatus::Added)
} else {
None
Expand Down

0 comments on commit 1bd2696

Please sign in to comment.