On Fri Jul 08 23:26:37 2011, GENEHACK wrote:
Show quoted text> On Tue Apr 06 12:03:44 2010, GAM wrote:
> > If git command returns an error code but no error string then an
> > If ($@)
> > will fail because of the overloaded "" with return an empty string.
> >
> > It is not clear what should happen here: should "" return "Error:"
> > or should the Exception not be thrown if there is no error string?
> >
> > I am seeing git-status return 256 with no error on Debian, which is
> why
> > I am seeing this problem.
>
> What version of git is doing that? Are you still having this problem?
>
> Is using Try::Tiny an option for you? That generally makes exception
> catching much nicer.
>
> I do have an idea about how this could be fixed, but I think I need to
> think about it a bit
> more...
If you could answer my questions above, it would be helpful in figuring out how to
resolve this issue.
thanks,
john.