Skip to content

Refactor sub-process support out of convert.c into a separate module#340

Closed
benpeart wants to merge 3 commits intogit:masterfrom
benpeart:refactor-convert
Closed

Refactor sub-process support out of convert.c into a separate module#340
benpeart wants to merge 3 commits intogit:masterfrom
benpeart:refactor-convert

Conversation

@benpeart
Copy link
Copy Markdown
Contributor

We have a couple of patch series we’re working on (ObjectDB/Read-Object, Watchman integration) where we could use the ability to have a background process running that can accept multiple commands thus avoiding the overhead of spawning a new process for every command. I’ve taken the code from LFS that does this and refactored it into a separate “sub-process” module so that we can centralize and reuse this logic. I also updated convert.c to use this new module.

I'll be posting this to the mailing list but understood that if I open a PR then a build for various platforms would be kicked off and tests run. I've verified this builds and passes all tests on Windows but no other platforms.

@rtyley
Copy link
Copy Markdown
Member

rtyley commented Mar 21, 2017

You could also give submitGit a try for submitting to the mailing list, if you haven't done it before: https://submitgit.herokuapp.com/git/git/pull/340

@benpeart benpeart closed this Mar 22, 2017
@benpeart benpeart deleted the refactor-convert branch March 22, 2017 15:01
vdye pushed a commit to vdye/git that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants