Reputation: 2633
If I execute git show f12345a --stat
I get the following output:
commit f12345a
Author: This Guy <[email protected]>
Date: Mon Jul 1 14:00:59 2019 -0500
A commit
hola/mundo/hola/mundo/hola/mundo/hola/mundo/hola/mundo/hola/mundo/imaginary-very-long-file-name.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
But if instead I execute git show f12345a --stat | grep -E "*"
(basically echoing everything) I get:
commit f12345a
Author: This Guy <[email protected]>
Date: Mon Jul 1 14:00:59 2019 -0500
A commit
.../hola/mundo/hola/mundo/hola/mundo/imaginary-very-long-file-name.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
so the question itself is why is my file name getting truncated? (how can I avoid it)?
This truncate is also applied when performing git show f12345a --stat > exit.txt
, when I see the file contents the file name is trucated
Upvotes: 4
Views: 584