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

Re: [PATCH] Fix t6031 on filesystems without working exec bit

From
Junio C Hamano <gitster@pobox.com>
Date
May 22, 2008, 09:04 UTC
Message-ID
<7vskwawvzq.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<81b0412b0805220116h4e4ff279k2e433a8a9a1cd9fc@mail.gmail.com>
"Alex Riesen" <raa.lkml@gmail.com> writes:
Show 12 quoted lines
> 2008/5/21 Junio C Hamano <gitster@pobox.com>:
> ...
>> @@ -12,6 +15,7 @@ test_expect_success 'mode change in one branch: keep changed version' '
>>        git add dummy &&
>>        git commit -m a &&
>>        git checkout -b b1 master &&
>> +      chmod +x file1 &&
>>  	  git update-index --chmod=+x file1 &&
>
> Now, this is pointless in my setup. Cygwin just ignores the operation
> and decidedddds (presumably according the file _content_ or maybe
> phase of the moon) that is not executable. Working tree is still modified.
Doesn't it mean you spotted a bug?

If your repository is marked so that executable bit is untrustworthy there, the check done when switching to branch "a1" to compare if "file1" that is involved in the switch operation has local changes should ignore (apparent and false) executable-bit change, shouldn't it?

Previous: Alex RiesenNext: Alex Riesen
Message 6 of 8 in “Fix t6031 on filesystems without working exec bit”
  1. Fix t6031 on filesystems without working exec bitAlex Riesen, May 18, 2008
  2. Junio C HamanoMay 19, 2008
  3. Alex RiesenMay 19, 2008
  4. Junio C HamanoMay 21, 2008
  5. Alex RiesenMay 22, 2008
  6. Junio C HamanoMay 22, 2008
  7. Alex RiesenMay 22, 2008
  8. Alex RiesenMay 23, 2008

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.