API - diffstat wrong results

Issue #6542 resolved
Cheryl J
created an issue

Diffstat always reports null lines added on an added file.

How to reproduce

Actual result

[ { "type": "added", "file": "testfile.txt", "diffstat": { "removed": null, "added": null } } ]

Expected result

[ { "type": "added", "file": "testfile.txt", "diffstat": { "removed": 0, "added": 1 } } ]

Comments (7)

  1. tenXer

    Woah, just noticed that it appears to be working now! (But I'll let you resolve this issue when ready.) Super fast fix. Thank you so much.

  2. Log in to comment