Skip to content

Various sp/mmap improvemnts

Shawn Pearce git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Rename gitfakemmap to git_mmap.compat/mmap.c git-compat-util.h+7 -70 replies
1/7Fix t5510-fetch's use of sedt/t5510-fetch.sh+7 -11 reply
1/7Use 'printf %s $x' notation in t5401t/t5401-update-hooks.sh+4 -44 replies
2/7Switch git_mmap to use pread.compat/mmap.c+4 -134 replies
2/7Replace fork_with_pipe in bundle with run_commandbuiltin-bundle.c+30 -992 replies
2/7Allow run_command stdout_to_stderr when stderr is a piperun-command.c+7 -70 replies
3/7Ensure packed_git.next is initialized to NULL.sha1_file.c+2 -00 replies
3/7Use RUN_GIT_CMD to run push backendsbuiltin-push.c+3 -30 replies
3/7Automatically close stderr pipes created by run_commandrun-command.c run-command.h+4 -00 replies
4/7Default core.packdGitWindowSize to 1 MiB if NO_MMAP.environment.c git-compat-util.h+3 -10 replies
4/7Use run_command for proxy connectionsconnect.c+15 -210 replies
4/7Refactor packet_write to prepare to integrate with sidebandpkt-line.c+13 -40 replies
5/7Don't exit successfully on EPIPE in read_or_die.write_or_die.c+1 -40 replies
5/7Use run_command within merge-indexmerge-index.c+5 -180 replies
5/7Refactor send-pack/receive-pack capability handshake for extensionbuiltin-send-pack.c receive-pack.c+10 -100 replies
6/7Release pack windows before reporting out of memory.git-compat-util.h sha1_file.c+39 -81 reply
6/7Use run_command within receive-pack to invoke index-packreceive-pack.c+10 -250 replies
6/7Add side-band-64k extension to send-pack/receive-pack for hook outputbuiltin-send-pack.c pkt-line.c pkt-line.h +1 more+70 -140 replies
7/7Replace mmap with xmmap, better handling MAP_FAILED.config.c diff.c git-compat-util.h +3 more+22 -192 replies
7/7Use run_command within send-packsend-pack.c+30 -560 replies
7/7Redirect receive-pack hook output into sideband channelreceive-pack.c t/t5401-update-hooks.sh+88 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Various sp/mmap improvemnts

Small improvements on top of my sp/mmap branch:

[PATCH 1/7] Rename gitfakemmap to git_mmap.
[PATCH 2/7] Switch git_mmap to use pread.

These two might apply right to master as-is and aren't necessarily part of my sp/mmap topic.

[PATCH 3/7] Ensure packed_git.next is initia...
[PATCH 4/7] Default core.packdGitWindowSize ...
[PATCH 5/7] Don't exit successfully on EPIPE...
[PATCH 6/7] Release pack windows before repo...
[PATCH 7/7] Replace mmap with xmmap, better ...

These apply on top of my sp/mmap topic and some also assume the 1/7,2/7 patches above to git_mmap were already applied.

1/7-5/7 were suggested by comments on the mailing list. Two I just forgot to implement (6/7, 7/7) prior to submitting the original series.

Signature · 1 line
Shawn.