Checkout: show diff when warning of divergence
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 23
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 17
Description
When pushing changes via project deploy, we now show a beautiful diff to tell you what will change on push.
I'd like to integrate the same thing on checkout (perhaps with a flag like --diff), so that when checking out and you get a divergence error, we can report the changes that will be lost.
So I guess this is basically a diff for unstaged changes
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing diff shown by project deploy, then find the checkout path that reports a divergence error. Determine how the checkout can expose the changes that would be lost, including whether a --diff flag is needed. Done means checkout divergence warnings report the relevant unstaged changes without changing normal checkout behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100