githelper.git
/
githelper.pike
version
»
Context lines:
10
20
40
80
file
none
3
githelper.git/githelper.pike:40:
string run_git(string ... args) { return run_git_ex(0, @args); } /* Hooks */ class PostCheckoutHook {
-
int hook(string
...
args
)
+
int hook(string
old_head,
string new_head, string branchflag
)
{
-
write("post-checkout %
O\n
",
args
);
+
write("post-checkout
:
old=
%
s, new=%s, branch=%d\n
",
+
old_head, new_head, (int
)
branchflag)
;
return 0; } } /* Filters */ class NiceIdentFilter { static string replace_id(string f, function(string:string) replace) { int p=0;