CloneWithCommitMsgHook: Stop passing --insecure to curl

Validating certs is an important feature of HTTPS that we should not
disable, especially when downloading code that is going to be trusted.

This "curl" invocation does not take place until after a successful
"git clone", so the -k option would not be useful for dealing with
misconfigured https servers.  Any configuration that needs -k would
already be broken because of the "git clone" that comes before it.

Reported-by: Gert van Dijk <gertvdijk@gmail.com>
Bug: Issue 7562
Change-Id: Ibe14bba5c1ce30a771515ff7985796aa1b8cdadf
1 file changed
tree: 852e4201ce2424ff40cc3900f572400c7a63d371
  1. .gitignore
  2. BUILD
  3. LICENSE
  4. src/