Hex Artifact Content
Not logged in

Artifact b614c2f63da7dca9f1db2e7ade61ef30448fc96c:


0000: 23 21 2f 62 69 6e 2f 73 68 0a 23 0a 23 20 41 6e  #!/bin/sh.#.# An
0010: 20 65 78 61 6d 70 6c 65 20 68 6f 6f 6b 20 73 63   example hook sc
0020: 72 69 70 74 20 74 6f 20 70 72 65 70 61 72 65 20  ript to prepare 
0030: 61 20 70 61 63 6b 65 64 20 72 65 70 6f 73 69 74  a packed reposit
0040: 6f 72 79 20 66 6f 72 20 75 73 65 20 6f 76 65 72  ory for use over
0050: 0a 23 20 64 75 6d 62 20 74 72 61 6e 73 70 6f 72  .# dumb transpor
0060: 74 73 2e 0a 23 0a 23 20 54 6f 20 65 6e 61 62 6c  ts..#.# To enabl
0070: 65 20 74 68 69 73 20 68 6f 6f 6b 2c 20 72 65 6e  e this hook, ren
0080: 61 6d 65 20 74 68 69 73 20 66 69 6c 65 20 74 6f  ame this file to
0090: 20 22 70 6f 73 74 2d 75 70 64 61 74 65 22 2e 0a   "post-update"..
00a0: 0a 65 78 65 63 20 67 69 74 20 75 70 64 61 74 65  .exec git update
00b0: 2d 73 65 72 76 65 72 2d 69 6e 66 6f 0a           -server-info.