Commit 02d0457
committed
Merge branch 'jc/git-open-cloexec'
The codeflow of setting NOATIME and CLOEXEC on file descriptors Git
opens has been simplified.
We may want to drop the tip one, but we'll see.
* jc/git-open-cloexec:
sha1_file: stop opening files with O_NOATIME
git_open_cloexec(): use fcntl(2) w/ FD_CLOEXEC fallback
git_open(): untangle possible NOATIME and CLOEXEC interactions3 files changed
+22
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | | - | |
| 1128 | + | |
| 1129 | + | |
1129 | 1130 | | |
1130 | 1131 | | |
1131 | 1132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
| 159 | + | |
167 | 160 | | |
168 | 161 | | |
169 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 31 | | |
40 | 32 | | |
41 | 33 | | |
| |||
1611 | 1603 | | |
1612 | 1604 | | |
1613 | 1605 | | |
1614 | | - | |
| 1606 | + | |
1615 | 1607 | | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
1619 | | - | |
1620 | | - | |
1621 | | - | |
1622 | | - | |
1623 | | - | |
1624 | | - | |
| 1608 | + | |
| 1609 | + | |
1625 | 1610 | | |
| 1611 | + | |
| 1612 | + | |
1626 | 1613 | | |
1627 | | - | |
1628 | | - | |
1629 | | - | |
1630 | | - | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
1631 | 1617 | | |
1632 | | - | |
1633 | | - | |
1634 | | - | |
1635 | | - | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
1636 | 1627 | | |
1637 | | - | |
1638 | 1628 | | |
| 1629 | + | |
| 1630 | + | |
1639 | 1631 | | |
1640 | 1632 | | |
1641 | 1633 | | |
| |||
0 commit comments