bandaid-diff fails on unmodified modules, due to git complaining that the commit is empty. Using --allow-ewpty is a workaround, but the more effective solution is to use diff-file/status to check and skip adding/committing/diffing. See https://github.com/reload/deployotron/blob/master/deployotron.actions.inc#L526
Well, sounds like a good idea, but it requires much reworking of the exec()ing functionality. So instead we'll add it as an argument and be explicit about when it's OK.
bandaid-diff fails on unmodified modules, due to git complaining that the commit is empty. Using --allow-ewpty is a workaround, but the more effective solution is to use diff-file/status to check and skip adding/committing/diffing. See https://github.com/reload/deployotron/blob/master/deployotron.actions.inc#L526