libgit2 for commits WORK-IN-PROGRESS

There is a "problem" in libgit2, gitattributes is searched for every git_index_addbypath call.

Signed-off-by: Sven Strickroth <email@cs-ware.de>