Merge branch 'jk/lose-name-path'
commit9831e92bfa833ee9c0ce464bbc2f941ae6c2698d
authorJunio C Hamano <gitster@pobox.com>
Wed, 24 Feb 2016 21:25:55 +0000 (24 13:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Feb 2016 21:25:55 +0000 (24 13:25 -0800)
treeea6f9d9f2868099d6c541359fcc0d59d04d6d4ce
parente84d5e9fa178a027b1c8b9f6e22c9173dcda03b3
parentde1e67d0703894cb6ea782e36abb63976ab07e60
Merge branch 'jk/lose-name-path'

The "name_path" API was an attempt to reduce the need to construct
the full path out of a series of path components while walking a
tree hierarchy, but over time made less efficient because the path
needs to be flattened, e.g. to be compared with another path that
is already flat.  The API has been removed and its users have been
rewritten to simplify the overall code complexity.

* jk/lose-name-path:
  list-objects: pass full pathname to callbacks
  list-objects: drop name_path entirely
  list-objects: convert name_path to a strbuf
  show_object_with_name: simplify by using path_name()
  http-push: stop using name_path