git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug] git diff assumes executable permissions change is always 0755
@ 2019-11-22 19:47 Wes Hurd
  2019-11-22 20:08 ` Elijah Newren
  2019-11-22 20:11 ` Denton Liu
  0 siblings, 2 replies; 3+ messages in thread
From: Wes Hurd @ 2019-11-22 19:47 UTC (permalink / raw)
  To: git

git 2.24.0
macOS 10.14.6

To reproduce:
 - Start a file, commit in git
 - chmod 0744 file.txt
 - git diff
 - ls -l file.txt

git diff reports :
old mode 100644
new mode 100755

expected:
git lists actual permissions of file
new mode 100744
File's permissions are 0744 (-rwxr--r--)

Thanks,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-22 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-22 19:47 [Bug] git diff assumes executable permissions change is always 0755 Wes Hurd
2019-11-22 20:08 ` Elijah Newren
2019-11-22 20:11 ` Denton Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).