Docassemble can't make an empty branch without erroring. You have to change something in some file.
The relevant code: server.py:16623 (at the time) does an add / status / commit; should be able to do git diff before hand to see if the commit is empty; if it is and there's a new branch, just make the branch and push it. If the commit is empty and no new branch, don't show confusing error; just return 200 with a flask saying "empty commit".
TBH, if #7 can be finished, this isn't necessary. But until then, it's confusing and annoying.
Transferred from https://github.com/BryceStevenWilley/docassemble/issues/6.
Docassemble can't make an empty branch without erroring. You have to change something in some file.
The relevant code:
server.py:16623(at the time) does an add / status / commit; should be able to dogit diffbefore hand to see if the commit is empty; if it is and there's a new branch, just make the branch and push it. If the commit is empty and no new branch, don't show confusing error; just return 200 with a flask saying "empty commit".TBH, if #7 can be finished, this isn't necessary. But until then, it's confusing and annoying.
Transferred from https://github.com/BryceStevenWilley/docassemble/issues/6.