git/list[1] front-page[2] threads[3] people[4] search[5] about
 

quiltimport mode detection oddity

From
AMAndrew Morton <akpm@linux-foundation.org>
Date
Aug 1, 2024, 22:57 UTC
Message-ID
<20240801155702.70242c31d476c46c84ee11a3@linux-foundation.org>
Hi all.

hp2:/usr/src/mm> git --version git version 2.43.0

I'm getting an odd warning from quiltimport:

hp2:/usr/src/mm> ls -l tools/testing/radix-tree/generated/autoconf.h -rw-rw-r-- 1 akpm akpm 54 Aug 1 15:43 tools/testing/radix-tree/generated/autoconf.h

hp2:/usr/src/mm> git quiltimport --series series tools-separate-out-shared-radix-tree-components.patch warning: tools/testing/radix-tree/generated/autoconf.h has type 100644, expected 100664

That patch has
diff --git a/tools/testing/radix-tree/generated/autoconf.h a/tools/testing/radix-tree/generated/autoconf.h
deleted file mode 100664
--- a/tools/testing/radix-tree/generated/autoconf.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "bit-length.h"
-#define CONFIG_XARRAY_MULTI 1




after quiltimport:

hp2:/usr/src/mm> ls -l tools/testing/radix-tree/generated/autoconf.h
ls: cannot access 'tools/testing/radix-tree/generated/autoconf.h': No such file or directory



I can't figure what I've done to make quiltimport (git-apply?) think that the file
had 100644 permissions.  Maybe the lack of an index line tripped it up.


(btw, "has type" should be "has permissions" in that message, no?)


Thanks.
Next: Junio C Hamano
Message 1 of 10 in “quiltimport mode detection oddity”
  1. Andrew MortonAug 1, 2024
  2. Junio C HamanoAug 2, 2024
  3. Andrew MortonAug 2, 2024
  4. Jeff KingAug 2, 2024
  5. Andrew MortonAug 2, 2024
  6. Junio C HamanoAug 2, 2024
  7. apply: canonicalize modes read from patchesJeff King, Aug 5, 2024
  8. Junio C HamanoAug 15, 2024
  9. t4129: fix racy index when calling chmod after git-addJeff King, Aug 15, 2024
  10. Junio C HamanoAug 15, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.