Open beback4u opened 1 year ago
Chromium uses \depot_tools\git.bat
by default. Looks like the issue (git diff
doesn't return anything in getCommitDetails) was caused by an escape character (caret: ^) for Windows batch script.
git diff --name-status --find-renames --diff-filter=AMDR -z abcdef^ abcdef # this doesn't work with git.bat
git diff --name-status --find-renames --diff-filter=AMDR -z abcdef~1 abcdef # this seems to work but still has some other issues
As a workaround, it'll work if expanding git.path
to the actual exe path as below:
//"git.path": "C:\\src\\depot_tools\\git.bat",
"git.path": "C:\\src\\depot_tools\\bootstrap-2@3_8_10_chromium_23_bin\\git\\bin\\git.exe",
Describe the Bug Git Graph shows empty in the File View on Windows 10 if I click one of commits.
Steps to Reproduce Steps to reproduce the behaviour:
Expected Behaviour The change list of files and directories should be shown in the File View.
Environment
Screenshots (optional)
Additional Context (optional)
⚠ Please make sure you complete all of the required sections of this template. Without this required information, it will be harder to replicate this bug, and cause additional delays in resolving it.