Skip to content

Fixed git lfs ls-files then index out of range error. - #668

Merged
technoweenie merged 2 commits into
git-lfs:masterfrom
aorjoa:master
Sep 17, 2015
Merged

technoweenie merged 2 commits into
git-lfs:masterfrom
aorjoa:master

Conversation

@aorjoa

@aorjoa aorjoa commented Sep 17, 2015

Copy link
Copy Markdown
Contributor

This PR for command git lfs ls-files and then error index out of range issue according #664

Comment thread git/git.go

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer using fmt.Errorf simple error messages that build dynamic strings:

err := fmt.Errorf("git can't resolve ref: %q", ref)

This is nitpicky, and not worth waiting on you to fix. Just some Go feedback :)

@technoweenie

Copy link
Copy Markdown
Contributor

Hey, welcome back :) Thanks for the fix!

technoweenie added a commit that referenced this pull request Sep 17, 2015
Fixed git lfs ls-files then index out of range error.
@technoweenie
technoweenie merged commit aaed3a9 into git-lfs:master Sep 17, 2015
technoweenie added a commit that referenced this pull request Sep 17, 2015
technoweenie added a commit that referenced this pull request Sep 17, 2015
add an integration test to prove #668 works
@technoweenie technoweenie mentioned this pull request Sep 17, 2015
6 tasks done
@aorjoa

aorjoa commented Sep 18, 2015

Copy link
Copy Markdown
Contributor Author

Thank you @technoweenie 👍 and sorry for long time no talk.

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