Re: new file mode 160000
From: Andreas Schwab <hidden>
Date: 2020-03-10 20:09:36
On Mär 10 2020, Junio C Hamano wrote:
Andreas Schwab [off-list ref] writes:quoted
On Mär 10 2020, Jörn Engel wrote:quoted
Something weird happened to us and I have no idea how to reproduce it. A developer managed to create a git commit with the following content:diff --git a/foo b/foo new file mode 160000 index 000000000000..b7e7816c1266 --- /dev/null +++ b/foo@@ -0,0 +1 @@ +one line of contentFile name and content obfuscated, the rest is verbatim from the git commit. Now, file mode 160000 doesn't make sense to me.0160000 is S_IFLNK in MiNT <https://github.com/freemint/freemint/blob/master/sys/mint/stat.h>.Yeek. That sounds like a ticking time-bomb.
configure can detect that (NEEDS_MODE_TRANSLATION). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."