Commit 3b58da4
committed
mingw: Use the Git wrapper for builtins
This reduces the disk footprint of a full Git for Windows setup
dramatically because on Windows, one cannot assume that hard links are
supported.
The net savings are calculated easily: the 32-bit `git.exe` file weighs
in with 7662 kB while the `git-wrapper.exe` file (modified to serve as a
drop-in replacement for builtins) weighs a scant 21 kB. At this point,
there are 109 builtins which results in a total of 813 MB disk space
being freed up by this commit.
Yes, that is really more than half a gigabyte.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 70c849b commit 3b58da4
2 files changed
Lines changed: 27 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1715 | 1715 | | |
1716 | 1716 | | |
1717 | 1717 | | |
| 1718 | + | |
1718 | 1719 | | |
1719 | 1720 | | |
1720 | 1721 | | |
1721 | 1722 | | |
1722 | 1723 | | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
1723 | 1729 | | |
1724 | 1730 | | |
1725 | 1731 | | |
| |||
2284 | 2290 | | |
2285 | 2291 | | |
2286 | 2292 | | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
2287 | 2311 | | |
2288 | 2312 | | |
2289 | 2313 | | |
| |||
2322 | 2346 | | |
2323 | 2347 | | |
2324 | 2348 | | |
2325 | | - | |
2326 | | - | |
2327 | | - | |
2328 | | - | |
| 2349 | + | |
2329 | 2350 | | |
2330 | 2351 | | |
2331 | 2352 | | |
2332 | | - | |
2333 | | - | |
2334 | | - | |
2335 | | - | |
| 2353 | + | |
2336 | 2354 | | |
2337 | 2355 | | |
2338 | 2356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
| 573 | + | |
573 | 574 | | |
574 | 575 | | |
575 | 576 | | |
| |||
0 commit comments