tasks/build_control.js
function initGit () {
      if (!fs.existsSync(path.join(gruntDir, options.dir, '.git'))) {
        log.subhead('Creating git repository in "' + options.dir + '".');

        execWrap('git init');
      }
    }
function initGit () {
      if (!fs.existsSync(path.join(gruntDir, options.dir, '.git'))) {
        log.subhead('Creating git repository in "' + options.dir + '".');

        execWrap('git init');
      }
    }
function initGit ( ) { if ( ! fs . existsSync ( path . join ( gruntDir , options . dir , '.git' ) ) ) { log . subhead ( 'Creating git repository in "' + options . dir + '".' ) ; execWrap ( 'git init' ) ; } }
Initialize git repo if one doesn't exist
Initialize git repo if one doesn t exist