1. Description
When in detached head mode the reflog shows an option to list the reflog for the commit
This is an invalid option and shows an error when selected
Git Graph+: failed to get reflog: git reflog show (HEAD detached from 7e212fc) --format=%H�%h�%gd�%gs --date=iso -n 201 failed (exit 128): fatal: ambiguous argument '(HEAD detached from 7e212fc)': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
2. Steps to Reproduce
- checkout a commit in detached mode
- make a commit
- Open Git Graph+
- switch to "reflog" tab
- select the "(HEAD detached from )" option in the dropdown to the right of the search bar
3. Expected Behavior
The option is not available since individual commits don't have reflogs
4. Actual Behavior
an error is displayed
6. Environment
- OS: Windows 11
- VS Code version:
- Git Graph+ version: 0.7.3
- Git version: 2.50.1
1. Description
When in detached head mode the reflog shows an option to list the reflog for the commit
This is an invalid option and shows an error when selected
2. Steps to Reproduce
3. Expected Behavior
The option is not available since individual commits don't have reflogs
4. Actual Behavior
an error is displayed
6. Environment