]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5601-clone.sh
Merge branch 'cp/apply-core-filemode'
authorJunio C Hamano <gitster@pobox.com>
Tue, 27 Feb 2024 02:10:24 +0000 (18:10 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Feb 2024 02:10:24 +0000 (18:10 -0800)
commitcf47fb7ec7e183a1a1e521a540862fba3c2a89eb
treebecb14d7e876deff37756a158850463bd4b53fec
parentb4385bf016d0d4b8e9bea6564e2d727082067f69
parent45b625142d8ca2218af1fb2b37216e58953e775d
Merge branch 'cp/apply-core-filemode'

"git apply" on a filesystem without filemode support have learned
to take a hint from what is in the index for the path, even when
not working with the "--index" or "--cached" option, when checking
the executable bit match what is required by the preimage in the
patch.

* cp/apply-core-filemode:
  apply: code simplification
  apply: correctly reverse patch's pre- and post-image mode bits
  apply: ignore working tree filemode when !core.filemode
apply.c
t/t4129-apply-samemode.sh