How to get rid of the … at the output of the show command in Git
Question
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 those pesky 3 dots (...)?
Thanks
Solution
Something like --stat=180,150
. The numbers are: max width to take for the stat output, max width to use for the filenames.
OTHER TIPS
Possibly you might use git whatchanged
which puts the full paths on the end of the lines. This one is likely easier to parse if you get any filenames with spaces in.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow