You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside git-rebase-todo files, there is no syntax highlighting for # comments
Steps to Reproduce:
Ensure clean git status
Create an empty commit git commit -m "asdf" --allow-empty
Start interactive rebase git rebase -i HEAD~1
Note the line with pick 809y2e3 asdf ends with # empty. This is a code comment in this file.
Add a line to the git-rebase-todo file:
exec echo 'asdf' # comment
Close file, to begin rebasing.
Observe that the echo 'asdf' prints a plain asdf and the # comment does not interfere at all.
If you scroll to the bottom of a git-rebase-todo file, you'll see a large block of comments created by git, a guide for doing the interactive rebase. Note that these comments are green (I'm using vscode's default dark theme)
The text was updated successfully, but these errors were encountered:
Inside
git-rebase-todo
files, there is no syntax highlighting for# comments
Steps to Reproduce:
git commit -m "asdf" --allow-empty
git rebase -i HEAD~1
pick 809y2e3 asdf
ends with# empty
. This is a code comment in this file.git-rebase-todo
file:exec echo 'asdf' # comment
echo 'asdf'
prints a plainasdf
and the# comment
does not interfere at all.If you scroll to the bottom of a
git-rebase-todo
file, you'll see a large block of comments created by git, a guide for doing the interactive rebase. Note that these comments are green (I'm using vscode's default dark theme)The text was updated successfully, but these errors were encountered: