mirror of
https://github.com/git-for-windows/git.git
synced 2026-07-06 01:43:36 -05:00
Use 'my @lines = map { chomp; $_ } <$fd>;' form to read all lines of
git command output into array without trailing newlines.
It has advantage over 'chomp (my (@lines) = <$fd>);' in that it does
not modify array.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
88 KiB
Executable File
88 KiB
Executable File