Skip to contentSkip to conversation

get_maintainer: quiet noisy implicit -f vcs_file_exists checking

PATCH In review [email protected] 1 participant 1 message Aug 25, 2016 GET_MAINTAINER script

lore
Share & tools
lore
#0 lore raw

PATCH 2/12 get_maintainer: quiet noisy implicit -f vcs_file_exists checking

From: Joe Perches <[email protected]>
Subject: get_maintainer: quiet noisy implicit -f vcs_file_exists checking

Checking command line filenames that are outside the git tree can emit a noisy and confusing message.

Quiet that message by redirecting stderr. Verify that the command was executed successfully.

---

 scripts/get_maintainer.pl |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
scripts/get_maintainer.pl renamed from scripts/get_maintainer.pl~get_maintainer-quiet-noisy-implicit-f-vcs_file_exists-checking +0 -0
diff -puN scripts/get_maintainer.pl~get_maintainer-quiet-noisy-implicit-f-vcs_file_exists-checking scripts/get_maintainer.pl
@@ -2136,9 +2136,11 @@ sub vcs_file_exists {
 
     my $cmd = $VCS_cmds{"file_exists_cmd"};
     $cmd =~ s/(\$\w+)/$1/eeg;		# interpolate $cmd