At Fri, 25 Jul 2014 21:10:26 -0300,
Nicolás Reynolds wrote:
> 
> [1  <text/plain (quoted-printable)>]
> "(Cron Daemon)" <[email protected]> writes:
> 
> > Cronic detected failure or error output for the command:
> > bash -c git add -Av && git commit -m "update from cron"
> >
> > RESULT CODE: 1
> >
> > ERROR OUTPUT:
> >
> > STANDARD OUTPUT:
> > On branch master
> > nothing to commit, working directory clean
> 
> why does git return 1 when there's nothing to do!

I've now made it check `git status` first to check if there is
anything to do.

-- 
Happy hacking,
~ Luke Shumaker
_______________________________________________
Dev mailing list
[email protected]
https://lists.parabolagnulinux.org/mailman/listinfo/dev

Reply via email to