Select the types of activity you want to include in your feed.
precommit: fix shell quoting in filter-branch env-filter
Use double quotes instead of single quotes for author name comparisons inside the single-quoted env-filter string. Single quotes cannot be nested inside single-quoted strings.
···354354 (* Build env-filter to replace AI authors with current user *)
355355 let author_conditions =
356356 ai_author_patterns
357357- |> List.map (fun a -> Printf.sprintf "\"$GIT_AUTHOR_NAME\" = '%s'" a)
357357+ |> List.map (fun a -> Printf.sprintf "\"$GIT_AUTHOR_NAME\" = \"%s\"" a)
358358 |> String.concat " -o "
359359 in
360360 let env_filter =