HF RL Explorer

Submodule diff display issues and errors in syntax highlighting

Submodule diff display issues and errors in syntax highlighting: a task in LegoFlow-SWE (Harbor dataset). When a submodule is moved to a different commit and the working directory changes are viewed, the syntax highlighting process attempts to load file contents for the submodule as if it were a…

The task

When a submodule is moved to a different commit and the working directory changes are viewed, the syntax highlighting process attempts to load file contents for the submodule as if it were a regular file. This results in two errors logged every time the diff updates:

Part of Lego-X/LegoFlow-SWE.