libgit2/libgit2 — Issue #524: "Inform" Git Status etc. 
Author: pro-logic
Created: 2012-01-03 08:07:03+00:00
State: open

Hi,

Recently I started working on some code that uses the Windows NTFS USN (Change) Journal to work out what files have changed in a directory, this means not all files in a directory need to be checked by a status operation.

I was hoping somebody could tell me which file I should be hacking up. For example if I could provide a list of paths that have changed in a working copy, where would I feed that list into libgit2 so that it doesn't have to scan the entire directory for changes?

My code is currently in C# so it would be useless for wider distribution, but I was hoping to hack myself up libgit2 to see how hard it would be to make the 'status' operation be 'informed' an opposed to a 'foreach file in whole repository' thing.

Hope this makes sense... it's been a long day :)