# # # patch "tests/commit_validation_lua_hook/commit_validate.lua" # from [c5998bb4468ae00907c2da4bba94d2f27681f1cc] # to [4a1c6e02b38c4ac40deb7a7346a095344de20d02] # ============================================================ --- tests/commit_validation_lua_hook/commit_validate.lua c5998bb4468ae00907c2da4bba94d2f27681f1cc +++ tests/commit_validation_lua_hook/commit_validate.lua 4a1c6e02b38c4ac40deb7a7346a095344de20d02 @@ -1,8 +1,8 @@ function validate_commit_message(message function validate_commit_message(message, info, branchname) if (not string.find(info, "input.txt")) then return false, "Wrong info message" end - if (message == "denyme") then + if (message == "denyme\n") then return false, "input.txt" end if (not string.find(branchname, "testbranch")) then