improves the git feature by adding a conflict status
This commit is contained in:
@@ -56,6 +56,7 @@ A file with a git change shows a letter on the right of its row:
|
||||
| `M` | Modified | teal |
|
||||
| `R` | Renamed | teal |
|
||||
| `D` | Deleted | amber-deep |
|
||||
| `U` | Merge conflict | red |
|
||||
|
||||
The letter is the file's overall status. When a file has both a staged and an unstaged change, the unstaged one wins. Folders do not show a letter.
|
||||
|
||||
|
||||
+4
-4
@@ -72,18 +72,18 @@ The changes sit in up to four sections, in this order. A section with no rows is
|
||||
|
||||
- Click a section header to fold or unfold it.
|
||||
- One file can show up twice: once in staged and once in another section. That happens when you staged a file and then edited it again. Each row stands for its own half.
|
||||
- A conflicted row (`U`) only offers **Stage**. Staging it marks the conflict as resolved.
|
||||
- A file with a merge conflict is never staged on its own: it sits in **changed** as a `U` row, and it does not count as a staged file. That row only offers **Stage**. Staging it marks the conflict as resolved.
|
||||
|
||||
### File rows
|
||||
Every row, left to right:
|
||||
|
||||
- A chevron: click anywhere on the row to show or hide its inline diff.
|
||||
- A status badge: `A` new, `M` modified, `D` deleted, `R` renamed, `U` conflict. Hover it for the word.
|
||||
- The path: the folder dim, the file name bright. A deleted file is struck through.
|
||||
- A status badge: `A` new, `M` modified, `D` deleted, `R` renamed, `U` merge conflict (red). Hover it for the word.
|
||||
- The path: the folder dim, the file name bright. A deleted file is struck through. A conflicted file has a red flag after its name; hover it for `Merge conflict — resolve, then Stage`.
|
||||
- The line counts: `+N` in teal and `−N` in light amber.
|
||||
- The row actions, from the table above.
|
||||
|
||||
Staged rows carry an amber bar on their left edge.
|
||||
Staged rows carry an amber bar on their left edge. A conflicted row carries a red bar and a faint red fill. Red is used for nothing else in the app.
|
||||
|
||||
### Row actions
|
||||
- **Stage** and **Unstage** run at once. They never ask.
|
||||
|
||||
Reference in New Issue
Block a user