I am using rocket git port on z/OS. I’ve noticed that when I clone a repository and immediately run git st, the entire working tree is “modified”. Running ‘git diff’ indicates no changes, but the subsequent git st indicates a clean working directory. See attached screenshot for details.
https://aws1.discourse-cdn.com/business7/uploads/rocketsoftware/optimized/1X/3457d2f9c93c294b5c32b31b12f863f23aefac65_2_1035x694.png 1.5x, https://aws1.discourse-cdn.com/business7/uploads/rocketsoftware/original/1X/3457d2f9c93c294b5c32b31b12f863f23aefac65.png 2x" data-small-upload="https://aws1.discourse-cdn.com/business7/uploads/rocketsoftware/optimized/1X/3457d2f9c93c294b5c32b31b12f863f23aefac65_2_10x10.png">I thought it may be related to line-endings, but that does not seem to be the case. I have line-endings configured properly.
user:git ls-files -s --eol
100644 1561467227212850a7cdb9af5e78d3d63fcca8dd 0 i/lf w/lf attr/text hello.c