X-Git-Url: https://git.hcoop.net/bpt/coccinelle.git/blobdiff_plain/5626f154460b8f6fc435bb3ee75c8297b1155a69..f537ebc4bbd27866c9ac3e1198b6756ebab7f2ba:/tools/splitpatch.ml diff --git a/tools/splitpatch.ml b/tools/splitpatch.ml index 4621f1d..68af129 100644 --- a/tools/splitpatch.ml +++ b/tools/splitpatch.ml @@ -133,12 +133,12 @@ let read_configs template = let maintainer_command file = Printf.sprintf - "cd %s; scripts/get_maintainer.pl --separator , --nogit -f %s" + "cd %s; scripts/get_maintainer.pl --separator , --nogit --norolestats -f %s" !git_tree file let subsystem_command file = Printf.sprintf - "cd %s; scripts/get_maintainer.pl --nogit --subsystem -f %s | grep -v @" + "cd %s; scripts/get_maintainer.pl --nogit --subsystem --norolestats -f %s | grep -v @" !git_tree file let checkpatch_command file = @@ -215,6 +215,7 @@ let split_patch i = let get_size l = match Str.split_delim (Str.regexp ",") l with [_;size] -> int_of_string size + | [_] -> 1 | _ -> failwith ("bad size: "^l) in let rec read_diff_or_atat _ = let l = input_line i in