import spawnGit from "./spawn-git" ; export default function gitStatus ( path ) { spawnGit ( "status --porcelain" , { cwd : path } , function ( err , stdout , stdrr ) { if ( err ) { return ; } return stdout . trim ( ) ; } ) ; }