commit 196d54c7a4390ec63e4f70f8a32ea627863acd3b from: Stefan Sperling date: Wed May 15 11:15:27 2019 UTC define message for error code GOT_ERR_DIR_NOT_EMPTY commit - 59544d4d62418ca3f426fef828512551bf702e96 commit + 196d54c7a4390ec63e4f70f8a32ea627863acd3b blob - a5adad9c7b78c20784ce7bf60421c298f36574e6 blob + 5672559ee3178f5472a06792f3793a49d8630d16 --- include/got_error.h +++ include/got_error.h @@ -171,6 +171,7 @@ static const struct got_error { { GOT_ERR_COMMIT_OUT_OF_DATE, "work tree must be updated before these " "changes can be committed" }, { GOT_ERR_COMMIT_MSG_EMPTY, "commit message cannot be empty" }, + { GOT_ERR_DIR_NOT_EMPTY, "directory exists and is not empty" }, { GOT_ERR_COMMIT_NO_CHANGES, "no changes to commit" }, { GOT_ERR_BRANCH_MOVED, "work tree's branch reference has moved; " "new branch or rebase required" },