Trigger Display of Git Tree Diff #2529
Unanswered
rfon6ngy
asked this question in
Extension Development QnA
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I would like to display delta between two git references (sha1, branch...)
I tried
vscode.diff
but it's only able to compare 1 fileSo I looked at the
vscode.git
native extension which userepository.diffTrees
and give the result to the_workbench.openMultiDiffEditor
command.It's working fine, but duplicating the vscode.git
toMultiFileDiffEditorUris
functionfrom vscode.git is not ideal since the
Status
enum used in the switch/case is specific to this extension.Is there a cleaner way to display a delta between two arbitrary git ref ?
Beta Was this translation helpful? Give feedback.
All reactions