]> git.99rst.org Git - git.git/commit
doc: avoid redundant use of cat
authorBeat Bolli <redacted>
Fri, 15 Mar 2024 19:45:58 +0000 (20:45 +0100)
committerJunio C Hamano <redacted>
Sat, 16 Mar 2024 18:08:55 +0000 (11:08 -0700)
commit938e891a9aa6626a948bb507f2f6b215be5bb6a3
tree9bc666838c92f8b5c66d122ff5ab0000880d3b19
parent2953d95d402b6bff1a59c4712f4d46f1b9ea137f
doc: avoid redundant use of cat

The update-hook-example.txt script uses this anti-pattern twice. Call grep
with the input file name directy. While at it, merge the two consecutive
grep calls.

Signed-off-by: Beat Bolli <redacted>
Acked-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/howto/update-hook-example.txt
git clone https://git.99rst.org/PROJECT