From: Junio C Hamano Date: Sat, 07 Oct 2017 01:18:56 GMT Subject: Re: [PATCH 2/2] tests: fix diff order arguments in test_cmp Message-ID: In-Reply-To: Stefan Beller writes: >> How did you find these? E.g. is there a grep pattern that reviewers >> can use to repeat your results? > > The grunge work was done via scrolling through > > git -C t grep test_cmp > > However it occurred to me that checking for the completeness could be done > via > > git -C t grep test_cmp | \ > awk '{$1=""; print } | \ # remove file name from output > sort | uniq Just like grep's GNUism, you can use -h to lose awk, i.e. git grep -h -e test_cmp t/ | sort -u