Merge branch 'bw/pathspec-cleanup' into next
authorJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 23:27:34 +0000 (15:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 23:27:34 +0000 (15:27 -0800)
commit79291ff506985d240efe8993d64e0016d479563d
tree6f6bc98f7d0e8d5739db835737fe1aace221ea10
parent249d9f26f3b39218bf0b470ce39f9b8e8e2faf01
parent27ec42826e9e5ffa9bcdf0208c1399f62b78c7fb
Merge branch 'bw/pathspec-cleanup' into next

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()'
builtin/mv.c
cache.h
dir.c