How to get rid of ... at the output of the show command in Git

git show --stat --pretty=format: 50c2ebc0e 

Outputs:

  .git.ignore | 2 +- .../WebServiceRequests/WebService.cs | 78 ++++++++++---------- .../UI/Bin/AjaxControlToolkit.omi | 1 + 

Is there a way to get the full path instead of these annoying 3 points (...)?

thanks

+4
source share
2 answers

Something like --stat=180,150 . Numbers: maximum width for statistics output, maximum width for use for file names.

+4
source

Perhaps you can use git whatchanged , which puts the full paths at the end of lines. It is probably easier to parse if you get file names with spaces.

0
source

Source: https://habr.com/ru/post/1390407/


All Articles