summaryrefslogtreecommitdiff
path: root/src/status.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-11-01 14:08:30 -0700
committerRussell Belfer <rb@github.com>2012-11-01 14:08:30 -0700
commitb90500f03d3ae60f1f79d7adb36d95632a29d7e5 (patch)
tree6ca43785060429e23e891c3234ca171ad4cb2a95 /src/status.c
parentdbd6850d06111eb0761499d7c876ff7cd4ad57fa (diff)
downloadlibgit2-b90500f03d3ae60f1f79d7adb36d95632a29d7e5.tar.gz
Improve docs, examples, warnings
This improves docs in some of the public header files, cleans up and improves some of the example code, and fixes a couple of pedantic warnings in places.
Diffstat (limited to 'src/status.c')
-rw-r--r--src/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/status.c b/src/status.c
index f57100d11..2d022bfda 100644
--- a/src/status.c
+++ b/src/status.c
@@ -217,7 +217,7 @@ static int get_one_status(const char *path, unsigned int status, void *data)
sfi->count++;
sfi->status = status;
- if (sfi->count > 1 ||
+ if (sfi->count > 1 ||
(strcmp(sfi->expected, path) != 0 &&
p_fnmatch(sfi->expected, path, 0) != 0)) {
giterr_set(GITERR_INVALID,