Merge branch 'tg/add-chmod+x-fix'
commitebc63580a1287325eef85e96c436de494406fd0a
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Sep 2016 23:09:20 +0000 (26 16:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Sep 2016 23:09:20 +0000 (26 16:09 -0700)
tree16f8b85f47ff2f47b1eaba5b55902196590ed7f1
parent6a67695268562f67babdb7d5195c8a43cc4015fa
parent40e0dc17ce6f8b699c0f9426438362ed658293dc
Merge branch 'tg/add-chmod+x-fix'

"git add --chmod=+x <pathspec>" added recently only toggled the
executable bit for paths that are either new or modified. This has
been corrected to flip the executable bit for all paths that match
the given pathspec.

* tg/add-chmod+x-fix:
  t3700-add: do not check working tree file mode without POSIXPERM
  t3700-add: create subdirectory gently
  add: modify already added files when --chmod is given
  read-cache: introduce chmod_index_entry
  update-index: add test for chmod flags
builtin/checkout.c
builtin/commit.c
builtin/update-index.c
cache.h
read-cache.c