tried to make it a little more obvious - felt wrong that the function git_add_and_commit would perform any checking about whether git was available - i moved those checks to the relevant callsites.
also, i busted the add & commit steps apart and added naive error handling. idk if that's ideal but i figure if automated git stuff borks we should probably toss an error of our own.
tried to make it a little more obvious - felt wrong that the function
git_add_and_commit
would perform any checking about whether git was available - i moved those checks to the relevant callsites.also, i busted the add & commit steps apart and added naive error handling. idk if that's ideal but i figure if automated git stuff borks we should probably toss an error of our own.