Thread (1 message) 1 message, 1 author, 2020-03-10

Re: new file mode 160000

From: Junio C Hamano <hidden>
Date: 2020-03-10 19:47:29

Andreas Schwab [off-list ref] writes:
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 content
File 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help