rubenv/grunt-git — pull request #60 by dylancwood (2014-06-21 18:17:42+00:00)
Title: add note about using cwd with files

As @ZuBB pointed out, the cwd option will not work with grunt-git commands that use the grunt file tools. The reason is that the cwd option is only applied to the spawned child processes that make calls to the git CLI. On the other hand, files are evaluated in the context of the Gruntfile's current working directory by default, so any action performed on files by the main thread will be done in the context of the Gruntfile's cwd.

It might be possible to re-expand the user-provided file object using the options.cwd by calling ``grunt.file.setBase(options.cwd)`` if options.cwd is valid, but I think it is important to update the documentation for now.