Environment Data:
- Git Version: 1.8.4
- Operating System: Windows 7 Professional
I am running into an issue where I am attempting to issue a Git Status using the options --work-tree and --git-dir inside cmd.exe
When I run the following:
git --work-tree=E:\Workspaces\company --git-dir=E:\Workspaces\company\.git status
I receive the following:
fatal: index file open failed: Invalid argument
If I swap the status for a fetch then everything works flawlessly. The status however refuses to run within cmd.exe
If I run the command, modified slightly work within msysGit pathing expectations, it executes properly.
git --work-tree=/e/Workspaces/company --git-dir=/e/Workspaces/company/.git status