{"thread":{"id":"49233","subject":"Customize the sort of \"git diff --stat\" output","startedAt":"2018-08-28T11:49:34Z","lastAt":"2018-08-28T11:49:34Z","messageCount":1,"participants":["ROZAR Fabien"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"356659","messageId":"AM6PR06MB423154FFB65DD801EF0CE8519A0A0@AM6PR06MB4231.eurprd06.prod.outlook.com","threadId":"49233","inReplyTo":null,"subject":"Customize the sort of \"git diff --stat\" output","fromName":"ROZAR Fabien","fromEmail":"fabien.rozar@hexagon.com","sentAt":"2018-08-28T11:49:30Z","receivedAt":"2018-08-28T11:49:34Z","isPatch":false,"sender":{"key":"fabien.rozar@hexagon.com","avatar":null},"body":"Hello there,\n\nI was looking for the possibility of sorting the output of the command \"git diff --stat\" by the number of modifications. Currently, the output of this command show the modified files by alphabetic order.\nI didn't find a \"builtin\" option which allows to sort the files by number of modifications.\n\nIt is possible to do it with a \"| sort <good_option>\" but you may lose the coloration and it's not desirable.\nIf this option already exist, please send me a link to it and I apologize by advance.\n\nFabien ROZAR\n"}]}