Disabled allowing empty git commits
This commit is contained in:
parent
ed55ba2814
commit
2a43cdeca8
@ -93,6 +93,7 @@ class StatusManager @Inject constructor() {
|
||||
suspend fun commit(git: Git, message: String) = withContext(Dispatchers.IO) {
|
||||
git.commit()
|
||||
.setMessage(message)
|
||||
.setAllowEmpty(false)
|
||||
.call()
|
||||
|
||||
loadStatus(git)
|
||||
|
Loading…
Reference in New Issue
Block a user