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,14 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed
# 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.
#
# To enable this hook, rename this file to "pre-applypatch".
. git-sh-setup
precommit="$(git rev-parse --git-path hooks/pre-commit)"
test -x "$precommit" && exec "$precommit" ${1+"$@"}
: