summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-05-30 10:50:47 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-05-30 10:50:47 -0700
commit8feb8e27e733c20a3b88ec4bf3302e9b539f99e7 (patch)
tree7568faa9902f0af126104fc0c06d10355c92dd71
parentMerge branch 'es/doc-gitsubmodules-markup' (diff)
parentrebase: replace incorrect logical negation by correct bitwise one (diff)
downloadtgif-8feb8e27e733c20a3b88ec4bf3302e9b539f99e7.tar.xz
Merge branch 'js/rebase-config-bitfix'
* js/rebase-config-bitfix: rebase: replace incorrect logical negation by correct bitwise one
-rw-r--r--builtin/rebase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/rebase.c b/builtin/rebase.c
index ba3a574e40..db6ca9bd7d 100644
--- a/builtin/rebase.c
+++ b/builtin/rebase.c
@@ -1203,7 +1203,7 @@ static int rebase_config(const char *var, const char *value, void *data)
if (git_config_bool(var, value))
opts->flags |= REBASE_DIFFSTAT;
else
- opts->flags &= !REBASE_DIFFSTAT;
+ opts->flags &= ~REBASE_DIFFSTAT;
return 0;
}