Regression in stdin pipe to scripts/get_maintainer.pl

From: Christopher Covington
Date: Wed Aug 10 2016 - 15:39:45 EST


Hi Joe,

I noticed 4cad35a7ca690eabf0d241062ce9e59693ec03e7 has caused the
following change in behavior:

c=4cad35a7ca690eabf0d241062ce9e59693ec03e7
git show -n 1 $c | scripts/get_maintainer.pl
sh: 1: STDIN: not found
sh: 1: STDIN: not found
fatal: --follow requires exactly one pathspec
git revert $c
git show -n 1 $c | scripts/get_maintainer.pl
Joe Perches <joe@xxxxxxxxxxx> (maintainer:GET_MAINTAINER SCRIPT)
linux-kernel@xxxxxxxxxxxxxxx (open list)

(If there's a better way for me to do this, maybe in the style of
checkpatch's new --git/-g option, I'd be happy to switch.)

Thanks,
Cov

--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code
Aurora Forum, a Linux Foundation Collaborative Project.