Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 1, 2018

Conversation

itepikin-smartling
Copy link
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.

@kohsuke kohsuke merged commit 1961836 into hub4j:master May 1, 2018
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