@@ -102,7 +102,11 @@ GIT_EXTERN(int) git_blob_create_fromstream_commit(
102102GIT_EXTERN (int ) git_blob_create_frombuffer (
103103 git_oid * id , git_repository * repo , const void * buffer , size_t len );
104104
105- /** Deprecated in favor of @see git_blob_filter */
105+ /** Deprecated in favor of `git_blob_filter`.
106+ *
107+ * @deprecated Use git_blob_filter
108+ * @see git_blob_filter
109+ */
106110GIT_EXTERN (int ) git_blob_filtered_content (
107111 git_buf * out ,
108112 git_blob * blob ,
@@ -233,7 +237,7 @@ GIT_EXTERN(void) giterr_clear(void);
233237GIT_EXTERN (void ) giterr_set_str (int error_class , const char * string );
234238
235239/**
236- * Indicates that an out-of-memory situation occured . This is an alias
240+ * Indicates that an out-of-memory situation occurred . This is an alias
237241 * of `git_error_set_oom` and is preserved for backward compatibility.
238242 *
239243 * This function is deprecated, but there is no plan to remove this
@@ -524,6 +528,42 @@ typedef int GIT_CALLBACK(git_headlist_cb)(git_remote_head *rhead, void *payload)
524528
525529/**@}*/
526530
531+ /** @name Deprecated String Array Functions
532+ *
533+ * These types are retained for backward compatibility. The newer
534+ * versions of these values should be preferred in all new code.
535+ *
536+ * There is no plan to remove these backward compatibility values at
537+ * this time.
538+ */
539+ /**@{*/
540+
541+ /**
542+ * Copy a string array object from source to target.
543+ *
544+ * This function is deprecated, but there is no plan to remove this
545+ * function at this time.
546+ *
547+ * @param tgt target
548+ * @param src source
549+ * @return 0 on success, < 0 on allocation failure
550+ */
551+ GIT_EXTERN (int ) git_strarray_copy (git_strarray * tgt , const git_strarray * src );
552+
553+ /**
554+ * Free the memory referred to by the git_strarray. This is an alias of
555+ * `git_strarray_dispose` and is preserved for backward compatibility.
556+ *
557+ * This function is deprecated, but there is no plan to remove this
558+ * function at this time.
559+ *
560+ * @deprecated Use git_strarray_dispose
561+ * @see git_strarray_dispose
562+ */
563+ GIT_EXTERN (void ) git_strarray_free (git_strarray * array );
564+
565+ /**@}*/
566+
527567/** @name Deprecated Options Initialization Functions
528568 *
529569 * These functions are retained for backward compatibility. The newer
0 commit comments