summaryrefslogtreecommitdiff
path: root/include/git2/deprecated.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-01-05 14:45:14 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2021-01-05 14:46:09 +0000
commit855f2998acfa58ce6f4a7a1a1b3d5d48475b2330 (patch)
tree050555dacd828e1bb22b2331f563b4ec63cb6109 /include/git2/deprecated.h
parentf0d7922c9bafff38e12978625f467aafebe75145 (diff)
downloadlibgit2-ethomson/tttoo_many_ttts.tar.gz
blob: fix name of `GIT_BLOB_FILTER_ATTRIBUTES_FROM_HEAD`ethomson/tttoo_many_ttts
`GIT_BLOB_FILTER_ATTTRIBUTES_FROM_HEAD` is misspelled, it should be `GIT_BLOB_FILTER_ATTRIBUTES_FROM_HEAD`, and it would be if it were not for the MacBook Pro keyboard and my inattentiveness.
Diffstat (limited to 'include/git2/deprecated.h')
-rw-r--r--include/git2/deprecated.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h
index 4e43c4536..79f637a7f 100644
--- a/include/git2/deprecated.h
+++ b/include/git2/deprecated.h
@@ -80,16 +80,19 @@ typedef git_attr_value_t git_attr_t;
/**@}*/
-/** @name Deprecated Blob Functions
+/** @name Deprecated Blob Functions and Constants
*
- * These functions are retained for backward compatibility. The newer
- * versions of these functions should be preferred in all new code.
+ * These functions and enumeration values are retained for backward
+ * compatibility. The newer versions of these functions and values
+ * should be preferred in all new code.
*
* There is no plan to remove these backward compatibility values at
* this time.
*/
/**@{*/
+#define GIT_BLOB_FILTER_ATTTRIBUTES_FROM_HEAD GIT_BLOB_FILTER_ATTRIBUTES_FROM_HEAD
+
GIT_EXTERN(int) git_blob_create_fromworkdir(git_oid *id, git_repository *repo, const char *relative_path);
GIT_EXTERN(int) git_blob_create_fromdisk(git_oid *id, git_repository *repo, const char *path);
GIT_EXTERN(int) git_blob_create_fromstream(