File tree 7 files changed +30
-3
lines changed
integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks
7 files changed +30
-3
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ ORI_DIR=` pwd`
3
+ SHELL_FOLDER=$( cd " $( dirname " $0 " ) " ; pwd)
4
+ cd " $ORI_DIR "
5
+ for i in ` ls " $SHELL_FOLDER /post-receive.d" ` ; do
6
+ sh " $SHELL_FOLDER /post-receive.d/$i "
7
+ done
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ " $GITEA_ROOT /gitea" hook --config=' integrations/app.ini' post-receive
Original file line number Diff line number Diff line change 88
88
exit 1
89
89
fi
90
90
91
- exit 0
92
-
93
- # ###############################################################
91
+ << \DOC_END
94
92
95
93
This sample hook safeguards topic branches that have been
96
94
published from being rewound.
@@ -167,3 +165,5 @@ To compute (2):
167
165
git rev-list master..topic
168
166
169
167
if this is empty, it is fully merged to "master".
168
+
169
+ DOC_END
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ ORI_DIR=` pwd`
3
+ SHELL_FOLDER=$( cd " $( dirname " $0 " ) " ; pwd)
4
+ cd " $ORI_DIR "
5
+ for i in ` ls " $SHELL_FOLDER /pre-receive.d" ` ; do
6
+ sh " $SHELL_FOLDER /pre-receive.d/$i "
7
+ done
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ " $GITEA_ROOT /gitea" hook --config=' integrations/app.ini' pre-receive
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ ORI_DIR=` pwd`
3
+ SHELL_FOLDER=$( cd " $( dirname " $0 " ) " ; pwd)
4
+ cd " $ORI_DIR "
5
+ for i in ` ls " $SHELL_FOLDER /update.d" ` ; do
6
+ sh " $SHELL_FOLDER /update.d/$i " $1 $2 $3
7
+ done
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ " $GITEA_ROOT /gitea" hook --config=' integrations/app.ini' update $1 $2 $3
You can’t perform that action at this time.
0 commit comments