Revert "Testing with git index refresh included in gitIsDirty."

This reverts commit 13455e94f6.
This commit is contained in:
Erik C. Thauvin 2018-06-25 17:27:11 -07:00
parent 13455e94f6
commit b709c9e5f7

View file

@ -114,9 +114,8 @@ tasks {
val gitIsDirty by creating(Exec::class) {
description = "Fails if git has uncommitted changes."
group = "verification"
//dependsOn(gitRefreshIndex)
commandLine("git", "update-index", "--refresh").isIgnoreExitValue = true
commandLine("git", "diff-index", "--quiet", "HEAD", "--").isIgnoreExitValue = false
dependsOn(gitRefreshIndex)
commandLine("git", "diff-index", "--quiet", "HEAD", "--")
}
val gitTag by creating(Exec::class) {