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) {
|
suspend fun commit(git: Git, message: String) = withContext(Dispatchers.IO) {
|
||||||
git.commit()
|
git.commit()
|
||||||
.setMessage(message)
|
.setMessage(message)
|
||||||
|
.setAllowEmpty(false)
|
||||||
.call()
|
.call()
|
||||||
|
|
||||||
loadStatus(git)
|
loadStatus(git)
|
||||||
|
Loading…
Reference in New Issue
Block a user