f8d636dde1
Every other run_* function that inspects args for "--" (run_diff, run_checkout) calls args_utils::restore_double_dash() first to re-insert the "--" that clap's trailing_var_arg strips out. run_log never did, so requests_raw_log_output()/log_arg_tokens()'s own take_while(|arg| *arg != "--") check was dead code in production: by the time run_log saw args, the literal "--" was already gone. Concretely, `rtk git log -- -p` lost its "--" and -p (a file literally named -p, a valid pathspec) was misdetected as the real patch flag, routing to raw passthrough instead of RTK's filtered log. Added an end-to-end regression test (real rtk binary, real git repo) alongside the existing git_log_patch_output_matches_raw_git test, since restore_double_dash reads live process args and can't be exercised by calling run_log's internals directly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>