Skip to content

Move filters out tree nodes, rather than delete their sha #215

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mushishi78
Copy link
Contributor

I was getting an error when moving files, and I came across this issue with a suggested workaround that worked for me. So I thought I'd send over a PR just incase.

However, moving files was working for me just fine before, and so the real cause of the problem is a mystery as far as I concerned. If no-one else is having the problem, then I understand if you don't feel a need to merge.

@mushishi78 mushishi78 changed the title Move filters out tree nodes, rather than delete their ref Move filters out tree nodes, rather than delete their sha Aug 29, 2015
@aendra-rininsland
Copy link
Member

Hi @mushishi78!

Could you please write a unit test for this? That would really help in determining whether this is a valid issue or not. I suggest writing the test case and running it against master HEAD and your PR; should fail in the former and pass in the latter. Thank you!

@mushishi78
Copy link
Contributor Author

Sorry to disappoint you again, but I also don't know how to write a test for this either. As far as I can tell, there is no previously written test for the move function, and even if their was one, I'd need to understand what caused the bug in order to write a test that isolated the bug.

To write a test for the move function, I'd think you'd need a to do some set up code for your testing that would create a test branch on a test repo and then delete the branch afterwards. That way you'd be free to make changes to without repercussion, you could rely on the same files being present in the repo and I could move some files or fail to move some files around with reckless abandon.

@aendra-rininsland aendra-rininsland modified the milestones: v0.10.8, v0.10.7 Oct 30, 2015
@aendra-rininsland
Copy link
Member

Bumping to 0.10.8, we really need to release 0.10.7.

@aendra-rininsland
Copy link
Member

Closed in error; reopening.

@aendra-rininsland aendra-rininsland force-pushed the master branch 2 times, most recently from e746e5d to 6f04f13 Compare November 17, 2015 16:15
@AurelioDeRosa AurelioDeRosa modified the milestones: v0.11.0, v0.10.8, 0.12.0, 0.11.0 Jan 24, 2016
@clayreimann clayreimann modified the milestones: 1.x, 0.12.0 Apr 27, 2016
@AurelioDeRosa
Copy link
Member

@clayreimann I think this PR can improve the lib as it sends only the data needed. Should I rebase it?

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

Successfully merging this pull request may close these issues.

5 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy