Helper function to get formatted git log output
(path_to_repo: &Path, num_entries: &str)
| 3495 | |
| 3496 | // Helper function to get formatted git log output |
| 3497 | fn get_git_log(path_to_repo: &Path, num_entries: &str) -> String { |
| 3498 | let output = run_git_command(path_to_repo, vec!["log", "--oneline", "-n", num_entries]); |
| 3499 | String::from_utf8_lossy(&output.stdout).to_string() |
| 3500 | } |
| 3501 | |
| 3502 | println!("=== MERGE SUBCOMMAND WITH SQUASHED MERGE OPTIONS ==="); |
| 3503 | let repo_name = "merge_squashed_merge_options"; |