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

[Git.FileStatus] Failure to report renamed files #1458

Closed
CaringDev opened this issue Jan 20, 2017 · 0 comments
Closed

[Git.FileStatus] Failure to report renamed files #1458

CaringDev opened this issue Jan 20, 2017 · 0 comments

Comments

@CaringDev
Copy link
Contributor

CaringDev commented Jan 20, 2017

Description

Git.FileStatus[.getChangedFiles] does not report renamed files but fails with Unknown file status

Repro steps

  1. Rename a file in git
  2. Call Git.FileStatus.getChangedFiles "." <currentHash> ""

Expected behavior

Git.FileStatus.getChangedFiles reports renamed file as either:

  • Renamed
  • Deleted + Added

Actual behavior

Fails with exception

Known workarounds

None

Related information

My current use-case is not depending on either having Renamed or Deleted / Added but rather not failing. I favor adding a Renamed case to FileInfo.

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

No branches or pull requests

1 participant