-
-
Notifications
You must be signed in to change notification settings - Fork 933
untracked_files no longer detected #138
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
Comments
+1 for a fix! |
Is this patch currently in a release? |
I don' think so. However, if there would be a pull request for the patch, I would merge it rather quickly. Thanks to pip, it's easy though to fetch releases directly from github, which should be an option for you. |
Fix for untracked_files no longer detected #138
I've just added two pull requests for this issue, one for the 0.3 branch and the other for the master branch. I'm not sure if that's the expected way to submit the pull requests, please tell if I just submit them in any other form. |
Fix for untracked_files no longer detected #138
Thanks for your contribution, and for going the extra mile of merging it into master as well. Would you be interested in bringing some other pull requests into 0.3 as well ? For some reason, I felt the urge to convert the project from tabs to spaces a few months ago, which is why most of the existing pull requests don't merge anymore. The goal is to merge as much as possible, and then fix the unit-tests. For the latter, I have a strong incentive to do so. To facilitate this, I would be glad to make you a contributor with full write access to the git-python repository. Please let me know what you think. |
I think this breaks the Repo.is_dirty(untracked_files=True) too ? |
¡Hola Sebastian! Sorry for the delay. El 2014-05-06 a las 03:32 -0700, Sebastian Thiel escribió:
Thanks to you for developing and maintaining this project.
Yes, I could probably do this. I've been playing a bit with Please let me know if updating the pull requests this was is good enough for
I'll be glad to have commit access, but I'll still bother you about which Happy hacking,"If a thing is done wrong often enough, it becomes right" -- Leahy's Law |
As the patch was already merged, as there is a test-case, and as I manually verified this is working, I believe there is no reason to keep this one open. |
Hi,
The output of git status is no longer in the format expected by python-git, in
particular the Repo.untracked_files property parses the git status output
expecting a:
while later versions of git droped the #, also there are some subtleties in
the management of the file names (avoid the use of replace and rstrip
removes spaces not only '\n').
Here is a patch that fixes the untracked_files property. There might be other parts affected by the change in the git output.
The text was updated successfully, but these errors were encountered: