diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-01-18 15:12:14 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-18 15:12:15 -0800 |
commit | fe9ec8bdf65657c11f08f8858bb2a707bdf7aafe (patch) | |
tree | e8134f8c702030414bc600aeaa414680fc04717c /Documentation/technical/api-setup.txt | |
parent | Merge branch 'js/mingw-test-push-unc-path' (diff) | |
parent | pathspec: rename prefix_pathspec to init_pathspec_item (diff) | |
download | tgif-fe9ec8bdf65657c11f08f8858bb2a707bdf7aafe.tar.xz |
Merge branch 'bw/pathspec-cleanup'
Code clean-up in the pathspec API.
* bw/pathspec-cleanup:
pathspec: rename prefix_pathspec to init_pathspec_item
pathspec: small readability changes
pathspec: create strip submodule slash helpers
pathspec: create parse_element_magic helper
pathspec: create parse_long_magic function
pathspec: create parse_short_magic function
pathspec: factor global magic into its own function
pathspec: simpler logic to prefix original pathspec elements
pathspec: always show mnemonic and name in unsupported_magic
pathspec: remove unused variable from unsupported_magic
pathspec: copy and free owned memory
pathspec: remove the deprecated get_pathspec function
ls-tree: convert show_recursive to use the pathspec struct interface
dir: convert fill_directory to use the pathspec struct interface
dir: remove struct path_simplify
mv: remove use of deprecated 'get_pathspec()'
Diffstat (limited to 'Documentation/technical/api-setup.txt')
-rw-r--r-- | Documentation/technical/api-setup.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/technical/api-setup.txt b/Documentation/technical/api-setup.txt index 540e455689..eb1fa9853e 100644 --- a/Documentation/technical/api-setup.txt +++ b/Documentation/technical/api-setup.txt @@ -27,8 +27,6 @@ parse_pathspec(). This function takes several arguments: - prefix and args come from cmd_* functions -get_pathspec() is obsolete and should never be used in new code. - parse_pathspec() helps catch unsupported features and reject them politely. At a lower level, different pathspec-related functions may not support the same set of features. Such pathspec-sensitive |