libgit2/libgit2 — pull request #735 by gregier (2012-05-27 23:55:26+00:00)
Title: Fix checking for the presence of a flag

The code seems to be trying to test if a flag is set, however it is just adding a flag and then checking if no flags are set which, of course, will always fail.