quiltimport mode detection oddity
- From
- Andrew 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.