1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-27 20:08:28 +00:00

Fix 404 when send pull request some situation (#6871) (#6873)

This commit is contained in:
Lunny Xiao
2019-05-08 12:05:05 +08:00
committed by techknowlogick
parent 40dc7342cf
commit 5f20841bc3
62 changed files with 1193 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
#
# An example hook script to check the commit log message taken by
# applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit. The hook is
# allowed to edit the commit message file.
#
# To enable this hook, rename this file to "applypatch-msg".
. git-sh-setup
commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}
: