diff --git GitUpKit/Third-Party/libgit2/src/diff_generate.c GitUpKit/Third-Party/libgit2/src/diff_generate.c index 568fb9743..776f443ef 100644 --- GitUpKit/Third-Party/libgit2/src/diff_generate.c +++ GitUpKit/Third-Party/libgit2/src/diff_generate.c @@ -24,7 +24,7 @@ (((DIFF)->base.opts.flags & (FLAG)) == 0) #define DIFF_FLAG_SET(DIFF,FLAG,VAL) (DIFF)->base.opts.flags = \ (VAL) ? ((DIFF)->base.opts.flags | (FLAG)) : \ - ((DIFF)->base.opts.flags & ~(VAL)) + ((DIFF)->base.opts.flags & ~(FLAG)) typedef struct { struct git_diff base;