My own corner of monopam
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

git: check if executable bit is set properly #2

open opened by anil.recoil.org targeting main

without this my monopam init has stray executable diffs after an initial pull

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:nhyitepp3u4u6fcfboegzcjw/sh.tangled.repo.pull/3mkv65b4hrz22
+1 -2
Diff #0
+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
sign up or login to add to the discussion
anil.recoil.org submitted #0
1 commit
expand
954dd80e
git: check if executable bit is set properly
merge conflicts detected
expand
expand 0 comments