git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: git@vger.kernel.org
Subject: quiltimport mode detection oddity
Date: Thu, 1 Aug 2024 15:57:02 -0700	[thread overview]
Message-ID: <20240801155702.70242c31d476c46c84ee11a3@linux-foundation.org> (raw)


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.


             reply	other threads:[~2024-08-01 22:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-01 22:57 Andrew Morton [this message]
2024-08-02  0:33 ` quiltimport mode detection oddity 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240801155702.70242c31d476c46c84ee11a3@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).