summaryrefslogtreecommitdiff
path: root/src/repo.cc
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-08-10 10:32:33 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-08-10 10:32:33 +0300
commit22cb2f79ddb89a368dd823e815fa1b0587ff1b6a (patch)
tree1d1b48c4ca2e956f4c4b91e12c81a89ef6d69f6e /src/repo.cc
parented1b02efd5f7691d72cf9b657d939e3adc31034c (diff)
Squashed 'gitstatus/' changes from 4b47ca047..abb4f6a52
abb4f6a52 fix typos in docs and comments 958ae4e6d docs: explicitly mention that core.fsmonitor was disable in git benchmarks (#370) git-subtree-dir: gitstatus git-subtree-split: abb4f6a5225d12f51ffd8196060804b0c770482e
Diffstat (limited to 'src/repo.cc')
-rw-r--r--src/repo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repo.cc b/src/repo.cc
index d7ea7d3e..a81594a4 100644
--- a/src/repo.cc
+++ b/src/repo.cc
@@ -155,7 +155,7 @@ IndexStats Repo::GetIndexStats(const git_oid* head, git_config* cfg) {
VERIFY(!git_repository_index(&git_index_, repo_)) << GitError();
// Query an attribute (doesn't matter which) to initialize repo's attribute
// cache. It's a workaround for synchronization bugs (data races) in libgit2
- // that result from lazy cache initialization without synchrnonization.
+ // that result from lazy cache initialization without synchronization.
// Thankfully, subsequent cache reads and writes are properly synchronized.
const char* attr;
VERIFY(!git_attr_get(&attr, repo_, 0, "x", "x")) << GitError();