Skip to content

Add support for previous_filename for file details in PR.#427

Merged
kohsuke merged 1 commit into
hub4j:masterfrom
itepikin-smartling:master
May 1, 2018
Merged

Add support for previous_filename for file details in PR.#427
kohsuke merged 1 commit into
hub4j:masterfrom
itepikin-smartling:master

Conversation

@itepikin-smartling
Copy link
Copy Markdown
Contributor

In case, when PR contains file that was renamed, file details will look like this:

[
  {
    "sha": "0000000000000000000001",
    "filename": "fileName.new",
    "status": "renamed",
    "additions": 1,
    "deletions": 0,
    "changes": 1,
    "blob_url": "https://github.com/...",
    "raw_url": "https://github.com/...",
    "contents_url": "https://api.github.com/repos/...",
    "patch": "...",
    "previous_filename": "fileName.prev"
  }
]

So, there is need to support previous_filename field to know the previous file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants