Skip to content

refresh: Support --diff with --edit #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
abhinav opened this issue Mar 19, 2021 · 0 comments · Fixed by #99
Closed

refresh: Support --diff with --edit #98

abhinav opened this issue Mar 19, 2021 · 0 comments · Fixed by #99

Comments

@abhinav
Copy link
Contributor

abhinav commented Mar 19, 2021

I find myself using --edit with stg refresh often to change the patch description as contents change. Being able to see, and possibly edit the diff, during this would be nice. For vanilla git, I used to have diff.verbose set for this reason (minus support for editing). The most obvious way to do this appears to be a --diff flag for refresh that only has effect if used with --edit.

jpgrayson pushed a commit that referenced this issue Mar 30, 2021
Add a `--diff` flag to `stg refresh` that, when used with `--edit`, is
equivalent to `stg edit --diff`.

Resolves #98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant