Allow passing branch/ref to diff command
Describe the solution you'd like
One thing in my other git plugin(s) workflow is to diff against a specific branch. For example: :Gdiff origin/staging or :Gdiff HEAD~3. It would be useful to diff against things other than just the current HEAD. I couldn't determine if this functionality already exists, so if it does, my apologies!
This plugin is really cool, thank you :)
Hey, thanks for the feature request. This feature does not exist currently and it would bring great value.
I think both buffer_diff_preview and project_diff_preview could benefit from this feature.
For buffer_diff_preview we would need to pass an additional option here and fetch the appropriate data here and I that should be it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.