diff options
| author | authmillenon <authmillenon@googlemail.com> | 2012-09-04 12:07:51 +0200 |
|---|---|---|
| committer | authmillenon <authmillenon@googlemail.com> | 2012-09-04 12:12:48 +0200 |
| commit | 0e2dd29ba57580d3d81c62caa7ee4c3ca0a33829 (patch) | |
| tree | c343eafb477ee439eb9637cf9b179b5628a1b0b8 /src/index.c | |
| parent | af6bcd8b932be89f6499c32353b1335c9489e59f (diff) | |
| download | libgit2-0e2dd29ba57580d3d81c62caa7ee4c3ca0a33829.tar.gz | |
Fix logical error in git_index_set_caps
Diffstat (limited to 'src/index.c')
| -rw-r--r-- | src/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c index a1042b723..3a92c360b 100644 --- a/src/index.c +++ b/src/index.c @@ -247,7 +247,7 @@ int git_index_set_caps(git_index *index, unsigned int caps) if (git_config_get_bool(&val, cfg, "core.filemode") == 0) index->distrust_filemode = (val == 0); if (git_config_get_bool(&val, cfg, "core.symlinks") == 0) - index->no_symlinks = (val != 0); + index->no_symlinks = (val == 0); } else { index->ignore_case = ((caps & GIT_INDEXCAP_IGNORE_CASE) != 0); |
