Add some debug output if commit worked

This commit is contained in:
Matthias Beyer 2016-09-08 10:44:17 +02:00
parent 0cfeda8652
commit 0366d0f8cb
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ impl StoreIdAccessor for UpdateHook {
.map_dbg_err_str("Failed to get commit message"));
repo.commit(Some("HEAD"), &signature, &signature, &message, &tree, &parents)
.map_dbg_str("Committed")
.map_dbg_err_str("Failed to commit")
.map_err_into(GHEK::RepositoryCommittingError)
.map_into_hook_error()