git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* quiltimport mode detection oddity
@ 2024-08-01 22:57 Andrew Morton
  2024-08-02  0:33 ` Junio C Hamano
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Morton @ 2024-08-01 22:57 UTC (permalink / raw)
  To: git


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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-08-15 16:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01 22:57 quiltimport mode detection oddity Andrew Morton
2024-08-02  0:33 ` Junio C Hamano
2024-08-02  1:07   ` Andrew Morton
2024-08-02  3:51     ` Jeff King
2024-08-02  5:33       ` Andrew Morton
2024-08-02 14:57       ` Junio C Hamano
2024-08-05  6:00         ` [PATCH] apply: canonicalize modes read from patches Jeff King
2024-08-15 14:52           ` Junio C Hamano
2024-08-15 15:30             ` [PATCH] t4129: fix racy index when calling chmod after git-add Jeff King
2024-08-15 16:41               ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).