Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:38

"Alex Riesen" [off-list ref] writes:
2008/5/21 Junio C Hamano [off-list ref]:
...
quoted
@@ -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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help