Skip to content

untracked_files empty on Windows8 #199

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

Closed
giordi91 opened this issue Nov 11, 2014 · 3 comments
Closed

untracked_files empty on Windows8 #199

giordi91 opened this issue Nov 11, 2014 · 3 comments

Comments

@giordi91
Copy link

HI, I am having this problem on windows 8 (I did not test windows7 yet but I ll do that asap), where the untracked_file argument result as empty no matter what, I double tested same code on CentOs and everytihng is fine. here is a simple code I am running:

repo = git.Repo("C:/Users/Marco\WORK_IN_PROGRESS/python/animshader")
print repo.git.status()
print repo.untracked_files

Here is the log:
---------- status
On branch master
Your branch is up-to-date with 'origin/master'.

Untracked files:
(use "git add ..." to include in what will be committed)

attributes/shader_float3_attr.py

nothing added to commit but untracked files present (use "git add" to track)
---------- untracked
[]

So as you can see the status() can correctly see the untracked file but for some reason the property untracked_files is failing along the line.
Any guess?

@Byron
Copy link
Member

Byron commented Nov 12, 2014

I have not encountered this error before, but am not using it on windows (or windows, for that matter) either.

You can track what it calls by setting the GIT_PYTHON_TRACE variable to 'full' . If the results are as expected, it might be some error in the git-python parser.
Please feel free to post the results here for further examination.

@Byron
Copy link
Member

Byron commented Nov 14, 2014

Related to #138

@Byron Byron added this to the v0.3.5 - bugfixes milestone Nov 14, 2014
@Byron
Copy link
Member

Byron commented Jan 7, 2015

screen shot 2015-01-07 at 09 21 27

I just verified this is working. Besides, the respective test is not failing on windows either.
Please be sure to use the latest version available on pypi (currently 0.3.4).

@Byron Byron closed this as completed Jan 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants