This would mainly be helpful for people who are already using Git in their workflow and would be using Revisr to either supplement or replace their existing workflow.
Possible solutions:
chdir() to ABSPATH before running git rev-parse --show-toplevel in Revisr_Git::current_dir()
Quite a few people have requested using non-standard WordPress structures: https://wordpress.org/support/topic/recommended-wordpress-structure
This would mainly be helpful for people who are already using Git in their workflow and would be using Revisr to either supplement or replace their existing workflow.
Possible solutions:
chdir()
toABSPATH
before runninggit rev-parse --show-toplevel
inRevisr_Git::current_dir()
Also likely related is issue #22