There seems to be a problem with git blame on z/OS.
For example if I run git blame -L 14,+1 PARMLIB/IEASYS00 on a copy of a repository on my laptop I get this:
git blame -L 14,+1 PARMLIB/IEASYS00
41657ed0 (Gary Freestone (U70021A) 2020-06-10 11:30:25 +0000 14) GRS=STAR, MASTER OF GRS COMPLEX 00013100
If I run the same command of z/OS I get the following:
fatal: file PARMLIB/IEASYS00 has only 1 line
Running git blame PARMLIB/IEASYS00 on z/OS I get this:
git blame PARMLIB/IEASYS00
00000000 (Not Committed Yet 2020-07-01 00:38:39 +0000 1) <<|ä........................ íèç|²ñ! èñ|+.<ñ³è...
Note:I only receive a single line of output. The second and third lines are hexadecimal display of the line I’m receiving.
The first few characters after the date and time are X’414C4C4F433D30302C’ which is ASCII for “ALLOC=00,” which happens to be the first line of the file.
So IMHO there seems to be a EBCDIC/ASCII problem with git blame.
I am running git version “git version 2.14.4_zos_b08” on my z/OS system
Thank you for your feedback. An internal ticket has been created for this issue.