Unnecessary. Git status never fails when used in a git repository.
On Mar 9, 2014 11:43 PM, "Samuel French" <notifications@github.com> wrote:

> In app/controllers/GitController.php:
>
> > @@ -18,6 +18,21 @@
> >  class GitController extends \BaseController {
> >
> >      /**
> > +     * Get results of `git status` from server.
> > +     *
> > +     * @param string $user
> > +     * @param string $project
> > +     *
> > +     * @return array associative array of file => git status.
> > +     */
> > +    public function gitStatus($user, $project)
> > +    {
> > +        $gitCommands = new GitCommands($user, $project);
> > +
> > +        return Response::json($gitCommands->gitStatus());
>
> Try catch block needed or no?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/CSC495-2014/TeamworkEnglewoodGit/pull/123/files#r10419152>
> .
>