summaryrefslogtreecommitdiff
path: root/src/xdiff
diff options
context:
space:
mode:
authorWill Stamper <epmatsw@gmail.com>2014-12-04 21:06:59 -0600
committerWill Stamper <epmatsw@gmail.com>2014-12-04 21:06:59 -0600
commitb874629b2d5823b7f52055a9784cc2e34cd48efb (patch)
tree6ce8a50295f3de1fc8ca00344b39dc180eb506e8 /src/xdiff
parent8bfbe6988fe749a4970613db371a214f18fc5c9b (diff)
downloadlibgit2-b874629b2d5823b7f52055a9784cc2e34cd48efb.tar.gz
Spelling fixes
Diffstat (limited to 'src/xdiff')
-rw-r--r--src/xdiff/xdiffi.c2
-rw-r--r--src/xdiff/xhistogram.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xdiff/xdiffi.c b/src/xdiff/xdiffi.c
index 75a392275..84aa0fcfe 100644
--- a/src/xdiff/xdiffi.c
+++ b/src/xdiff/xdiffi.c
@@ -490,7 +490,7 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
/*
* Try to move back the possibly merged group of changes, to match
- * the recorded postion in the other file.
+ * the recorded position in the other file.
*/
while (ixref < ix) {
rchg[--ixs] = 1;
diff --git a/src/xdiff/xhistogram.c b/src/xdiff/xhistogram.c
index 5d101754d..c84812893 100644
--- a/src/xdiff/xhistogram.c
+++ b/src/xdiff/xhistogram.c
@@ -55,7 +55,7 @@ struct histindex {
struct record {
unsigned int ptr, cnt;
struct record *next;
- } **records, /* an ocurrence */
+ } **records, /* an occurrence */
**line_map; /* map of line to record chain */
chastore_t rcha;
unsigned int *next_ptrs;