githelper.git / githelper.pike

version» Context lines:

githelper.git/githelper.pike:1:   #! /usr/bin/env pike    + #if 0 /* /bin/sh code below */ + #! The following is debug code to simplify identifying the + #! pike binary that is used when running the helper. + #! It is enabled by prepending the top line of the file + #! with #!/bin/sh +  + type pike +  + echo "$""0: $0" + echo "$""@:" "$@" +  + exec /usr/bin/env pike "$0" "$@" + #endif /* /bin/sh code above */ +    #define DOLLAR "$"   constant unexpanded_id = DOLLAR"Id"DOLLAR;      mapping(string:program) hooks = ([    "pre-commit" : PreCommitHook,    "pre-receive" : PreReceiveHook,    "post-commit" : PostCommitHook,    "post-rewrite" : PostRewriteHook,   ]);