G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

Fix for ls file status in direct mode #204

Closed achilleas-k closed 6 years ago

achilleas-k commented 6 years ago

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.