]> git.armaanb.net Git - stagit.git/commit
improve commitinfo_getstats
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 22 Apr 2017 17:07:07 +0000 (19:07 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 7 May 2017 10:05:47 +0000 (12:05 +0200)
commit8fa0effa9846a18a60d3b6a7c96db42a2775a7c6
treec7cf24ad47acce90c05cb8d1ff9c9ee6efc5ca24
parent8eabe24bdda7003453bbd034d82ebc479e2c76bc
improve commitinfo_getstats

- reorder: unnecessary allocation when git_patch_from_diff fails.
- no need to free patch object when git_patch_from_diff fails.
stagit.c