Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-6542

API - diffstat wrong results

    XMLWordPrintable

Details

    Description

      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
      }
      }
      ]

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            e8b276c0b54c cheryl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: