Code

Merge branch 'jc/streaming-filter'
[git.git] / Documentation / technical / api-diff.txt
index 822609bcd1fabe485e9d1a65916cb1d7e74dfaf1..2d2ebc04b74ef2b1bf39df892d303d37076325d1 100644 (file)
@@ -32,14 +32,14 @@ Calling sequence
 
 * As you find different pairs of files, call `diff_change()` to feed
   modified files, `diff_addremove()` to feed created or deleted files,
-  or `diff_unmerged()` to feed a file whose state is 'unmerged' to the
+  or `diff_unmerge()` to feed a file whose state is 'unmerged' to the
   API.  These are thin wrappers to a lower-level `diff_queue()` function
   that is flexible enough to record any of these kinds of changes.
 
 * Once you finish feeding the pairs of files, call `diffcore_std()`.
   This will tell the diffcore library to go ahead and do its work.
 
-* Calling `diffcore_flush()` will produce the output.
+* Calling `diff_flush()` will produce the output.
 
 
 Data structures
@@ -50,7 +50,7 @@ Data structures
 This is the internal representation for a single file (blob).  It
 records the blob object name (if known -- for a work tree file it
 typically is a NUL SHA-1), filemode and pathname.  This is what the
-`diff_addremove()`, `diff_change()` and `diff_unmerged()` synthesize and
+`diff_addremove()`, `diff_change()` and `diff_unmerge()` synthesize and
 feed `diff_queue()` function with.
 
 * `struct diff_filepair`
@@ -102,13 +102,13 @@ Notable members are:
        and copies.
 
 `abbrev`::
-       Number of hexdigits to abbrevate raw format output to.
+       Number of hexdigits to abbreviate raw format output to.
 
 `pickaxe`::
        A constant string (can and typically does contain newlines to
        look for a block of text, not just a single line) to filter out
        the filepairs that do not change the number of strings contained
-       in its preimage and postmage of the diff_queue.
+       in its preimage and postimage of the diff_queue.
 
 `flags`::
        This is mostly a collection of boolean options that affects the
@@ -149,7 +149,7 @@ REVERSE_DIFF;;
 
 EXIT_WITH_STATUS;;
        For communication between the calling program and the options
-       parser; tell the calling program to signal the presense of
+       parser; tell the calling program to signal the presence of
        difference using program exit code.
 
 HAS_CHANGES;;