without this my monopam init has stray executable diffs after an initial pull
+1
-2
Diff
round #0
+1
-2
ocaml-git/lib/index.ml
+1
-2
ocaml-git/lib/index.ml
···
275
275
| Some stat ->
276
276
let mode =
277
277
if stat.kind = `Regular_file then
278
-
(* Check if executable - simplified, assume regular *)
279
-
Regular
278
+
if stat.perm land 0o111 <> 0 then Executable else Regular
280
279
else if stat.kind = `Symbolic_link then Symlink
281
280
else Regular
282
281
in
History
1 round
0 comments
anil.recoil.org
submitted
#0
1 commit
expand
collapse
954dd80e
git: check if executable bit is set properly
merge conflicts detected
expand
collapse
expand
collapse