From: Shawn O. Pearce <hidden> Date: 2016-06-15 22:45:56
Felipe Contreras [off-list ref] wrote:
How about the attached patch?
"S_IFREG | mode" probably is only required for 0644 and 0755.
It doesn't make sense to do S_IFREG | S_IFLINK (0100000 | 0120000),
since no bits are changed.