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

Re: [PATCH] tests: make all test files executable

From
Mark Rada <marada@uwaterloo.ca>
Date
Oct 4, 2009, 13:18 UTC
Message-ID
<1762B430-2DC0-48F5-8C34-8428F9145A1E@mailservices.uwaterloo.ca>
In-Reply-To
<20091002083946.GA8627@coredump.intra.peff.net>
On 2009-10-02, at 4:39 AM, Jeff King wrote:
Show 24 quoted lines
> On Fri, Oct 02, 2009 at 04:01:34AM -0400, Jeff King wrote:
>
>>> 0 files changed, 0 insertions(+), 0 deletions(-)
>>> mode change 100644 => 100755 t/t5531-deep-submodule-push.sh
>>> mode change 100644 => 100755 t/t9501-gitweb-standalone-http- 
>>> status.sh
>>>
>>> diff --git a/t/t5531-deep-submodule-push.sh b/t/t5531-deep- 
>>> submodule-push.sh
>>> old mode 100644
>>> new mode 100755
>>> diff --git a/t/t9501-gitweb-standalone-http-status.sh
>>> b/t/t9501-gitweb-standalone-http-status.sh
>>> old mode 100644
>>> new mode 100755
>>
>> When applying via "am", I only got the first change in my tree.  
>> I'll see
>> if I can confirm and make a test case.
>
> Ah, nevermind. The problem is that your patch was word-wrapped, making
> the second "diff --git" line bogus. It would have been nice to have it
> print a warning instead of silently ignoring that bit of the patch.
>

I didn't have format=flowed buggering things up this time, so I don't quite understand the problem; could you please explain with more details?

When I try to apply the patch from a saved copy of the e-mail, I get the following error:

	# git am ~/Downloads/\[PATCH\]\ tests_\ make\ all\ test\ files\  
executable.eml
	Patch format detection failed.
	zsh: exit 1     git am

The difference between the patch created by format-patch and the saved e-mail is just some e-mail header information. Is that a different error than what you were getting? I'm not sure what I'm doing wrong here, help would be appreciated.

-- Mark Rada (ferrous26) marada@uwaterloo.ca

Previous: Jeff KingNext: Jeff King
Message 4 of 7 in “tests: make all test files executable”
  1. tests: make all test files executableMark Rada, Oct 2, 2009
  2. Jeff KingOct 2, 2009
  3. Jeff KingOct 2, 2009
  4. Mark RadaOct 4, 2009
  5. Jeff KingOct 4, 2009
  6. Mark RadaOct 5, 2009
  7. Jeff KingOct 5, 2009

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.