Skip to content

Commit ed43e80

Browse files
committed
add possibility to test update hook
1 parent 9f51ffb commit ed43e80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

serverhooks/update

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ sizelimit=52428800
4343
# so get all commits reachable from newrev (that are newer than a certain date),
4444
# that are not reachable from any yet known ref (branch) labels
4545
span=$(git rev-list ${newrev} ${checksince} --not --all)
46+
# use the following line to test this hook
47+
#span=$(git log --oneline --no-abbrev-commit | cut -d ' ' -f 1 | head -n 3)
4648

4749
# ----------------------------------------
4850
# Iterate over all new commits in the push

0 commit comments

Comments
 (0)