aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/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
commit2d9c1f271b67c2f4553d814b27eb79e5bf6c691e (patch)
treec39f02fa662f966e87caf987a95d4aa4ff1ca657 /gitstatus/src/repo.cc
parent717f9a1881c1bd179658951b8628f1b395c1cb11 (diff)
parent22cb2f79ddb89a368dd823e815fa1b0587ff1b6a (diff)
Merge commit '22cb2f79ddb89a368dd823e815fa1b0587ff1b6a'
Diffstat (limited to 'gitstatus/src/repo.cc')
-rw-r--r--gitstatus/src/repo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/src/repo.cc b/gitstatus/src/repo.cc
index d7ea7d3e..a81594a4 100644
--- a/gitstatus/src/repo.cc
+++ b/gitstatus/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();