summaryrefslogtreecommitdiff
path: root/include/git2/status.h
diff options
context:
space:
mode:
authorRussell Belfer <arrbee@arrbee.com>2012-03-22 10:44:36 -0700
committerRussell Belfer <arrbee@arrbee.com>2012-03-22 10:44:36 -0700
commit66142ae03134ef8a45e6bd304c6106a1685c3c99 (patch)
tree2a938d7439f419e4764e54040d787982efcffa71 /include/git2/status.h
parent95340398a1821bd19da1bfe459ba1f375ed89404 (diff)
downloadlibgit2-66142ae03134ef8a45e6bd304c6106a1685c3c99.tar.gz
New status fixes
This adds support for roughly-right tracking of submodules (although it does not recurse into submodules to detect internal modifications a la core git), and it adds support for including unmodified files in diff iteration if requested.
Diffstat (limited to 'include/git2/status.h')
-rw-r--r--include/git2/status.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/status.h b/include/git2/status.h
index 339052933..a24d39fa7 100644
--- a/include/git2/status.h
+++ b/include/git2/status.h
@@ -83,14 +83,14 @@ typedef enum {
* the workdir files are included in the status "show" option.
* Right now, there is no option to include all files in
* directories that are ignored completely.
- * - GIT_STATUS_OPT_EXCLUDE_UNMODIFIED indicates that callback
- * do not need to be made on unmodified files.
+ * - GIT_STATUS_OPT_INCLUDE_UNMODIFIED indicates that callback
+ * should be made even on unmodified files.
* - GIT_STATUS_OPT_EXCLUDE_SUBMODULES indicates that directories
* which appear to be submodules should just be skipped over.
*/
#define GIT_STATUS_OPT_INCLUDE_UNTRACKED (1 << 0)
#define GIT_STATUS_OPT_INCLUDE_IGNORED (1 << 1)
-#define GIT_STATUS_OPT_EXCLUDE_UNMODIFIED (1 << 2)
+#define GIT_STATUS_OPT_INCLUDE_UNMODIFIED (1 << 2)
#define GIT_STATUS_OPT_EXCLUDE_SUBMODULES (1 << 3)
/**