summaryrefslogtreecommitdiff
path: root/include/git2/oid.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-03-25 22:19:39 -0700
committerRussell Belfer <rb@github.com>2013-03-25 22:19:39 -0700
commit37ee70fab4e6dcf35afc08c0edbe9f101d4abf2d (patch)
treee9bee47b3059bbc5189e0833b927a3bf50776bdf /include/git2/oid.h
parent0c289dd7c6831f4f402f9581b46d0c920053abf9 (diff)
downloadlibgit2-37ee70fab4e6dcf35afc08c0edbe9f101d4abf2d.tar.gz
Implement GIT_STATUS_OPT_EXCLUDE_SUBMODULES
This option has been sitting unimplemented for a while, so I finally went through and implemented it along with some tests. As part of this, I improved the implementation of GIT_DIFF_IGNORE_SUBMODULES so it be more diligent about avoiding extra work and about leaving off delta records for submodules to the greatest extent possible (though it may include them still if you are request TYPECHANGE records).
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r--include/git2/oid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h
index d2f3f4a14..862f4b202 100644
--- a/include/git2/oid.h
+++ b/include/git2/oid.h
@@ -51,7 +51,7 @@ GIT_EXTERN(int) git_oid_fromstr(git_oid *out, const char *str);
*
* @param out oid structure the result is written into.
* @param str input hex string; must be at least 4 characters
- * long and null-terminated.
+ * long and null-terminated.
* @return 0 or an error code
*/
GIT_EXTERN(int) git_oid_fromstrp(git_oid *out, const char *str);