tasks/jsdox.js
function cmd(args) {
            var def = Q.defer();
            grunt.util.spawn({ cmd: 'git', args: args }, def.resolve);
            return def.promise;
        }
function cmd(args) {
            var def = Q.defer();
            grunt.util.spawn({ cmd: 'git', args: args }, def.resolve);
            return def.promise;
        }
function cmd ( args ) { var def = Q . defer ( ) ; grunt . util . spawn ( { cmd : 'git' , args : args } , def . resolve ) ; return def . promise ; }
run the git commands, using promises to handle when complete
run the git commands using promises to handle when complete