librelist archives

« back to archive

Re: [libgit2] git_status_file with untracked files

Re: [libgit2] git_status_file with untracked files

Dan Petitt
2013-03-29 @ 00:21
I am trying to get a status of files in my working directory and it seems 
that untracked files are returning GIT_ENOTFOUND (-3) instead of returning
GIT_OK and a status that indicates an untracked file.

Strangely I notice an issue that supposedly fixed this 10 months ago but I
am not seeing the expected results:

Am I using this wrong?
Yes I was, stupid me; I was passing in the full path instead of a path 
relative to the working directory; apologies.