{"thread":{"id":"48633","subject":"[PATCH] t/perf/run: Use proper \"--get-regexp\", not \"get-regex\"","startedAt":"2018-06-03T10:15:08Z","lastAt":"2018-06-03T10:15:08Z","messageCount":1,"participants":["Robert P. J. Day"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"349131","messageId":"alpine.LFD.2.21.1806030609020.7527@localhost.localdomain","threadId":"48633","inReplyTo":null,"subject":"[PATCH] t/perf/run: Use proper \"--get-regexp\", not \"get-regex\"","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-06-03T10:11:08Z","receivedAt":"2018-06-03T10:15:08Z","isPatch":true,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"Even though \"--get-regex\" appears to work with \"git config\", the\nstandard is to spell out the action in full.\n\nSigned-off-by: Robert P. J. Day <rpjday@crashcourse.ca>\n\n---\n\nthis is the only occurrence i saw of this in the entire code base, so\nit seemed worth tweaking just for consistency.\n\ndiff --git a/t/perf/run b/t/perf/run\nindex 9aaa733c7..fb5753ea2 100755\n--- a/t/perf/run\n+++ b/t/perf/run\n@@ -110,7 +110,7 @@ run_dirs () {\n get_subsections () {\n \tsection=\"$1\"\n \ttest -z \"$GIT_PERF_CONFIG_FILE\" && return\n-\tgit config -f \"$GIT_PERF_CONFIG_FILE\" --name-only --get-regex \"$section\\..*\\.[^.]+\" |\n+\tgit config -f \"$GIT_PERF_CONFIG_FILE\" --name-only --get-regexp \"$section\\..*\\.[^.]+\" |\n \tsed -e \"s/$section\\.\\(.*\\)\\..*/\\1/\" | sort | uniq\n }\n\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                  http://crashcourse.ca/dokuwiki\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"}]}