This PR fixes the status of files when working in direct mode. Previously, some conditions weren't being detected correctly, mostly due to direct mode working with bare repositories.
gin ls in direct mode now produces the exact same output as in indirect mode, with the exception of locking and unlocking of files having no effect.
This PR fixes the status of files when working in direct mode. Previously, some conditions weren't being detected correctly, mostly due to direct mode working with bare repositories.
gin ls
in direct mode now produces the exact same output as in indirect mode, with the exception of locking and unlocking of files having no effect.Tests have been updated to reflect these changes.