mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not run hooks when rewording via amend
IDEA-223970 GitOrigin-RevId: cb50d636d3c260cea6c447bd3118528e3b90c32d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
65c800c41c
commit
0b881c49cb
@@ -100,6 +100,7 @@ class GitRewordOperation(private val repository: GitRepository,
|
||||
handler.addParameters("-F")
|
||||
handler.addAbsoluteFile(messageFile)
|
||||
handler.addParameters("--only") // without any files: to amend only the message
|
||||
handler.addParameters("--no-verify") // to prevent unnecessary hooks execution
|
||||
|
||||
val result = Git.getInstance().runCommand(handler)
|
||||
repository.update()
|
||||
|
||||
Reference in New Issue
Block a user