From: Stefan Beller <sbeller@google.com>
To: git@vger.kernel.org
Cc: peff@peff.net, jrnieder@gmail.com, gitster@pobox.com,
johannes.schindelin@gmx.de, Stefan Beller <sbeller@google.com>
Subject: [PATCH 0/9] Progress with git submodule
Date: Thu, 27 Aug 2015 18:14:46 -0700 [thread overview]
Message-ID: <1440724495-708-1-git-send-email-sbeller@google.com> (raw)
This series replaces origin/sb/submodule-helper and is based on
5a1ba6b48a62bf55f9c8305d9850c3a8d22365c5, (Merge 'hv/submodule-config' to
'sb/submodule-helper', which includes jk/git-path and hv/submodule-config)
What changed?
* The help text of the submodule--helper was adapted to our standard,
and removed long line, outdated docs, thanks Dscho!
* The run-command API was extended to be able to sync the output from
various commands running at the same time.
(In the previous series this was a one-shot only solution cooked for
git submodule foreach_parallel)
* `git fetch recurse-submodules` will fetch the submodules in parallel!
Any feedback welcome,
specially on patch 4..7
Thanks,
Stefan
Stefan Beller (9):
submodule: implement `module_list` as a builtin helper
submodule: implement `module_name` as a builtin helper
submodule: implement `module_clone` as a builtin helper
thread-utils: add a threaded task queue
run-command: add synced output
submodule: helper to run foreach in parallel
fetch: fetch submodules in parallel
index-pack: Use the new worker pool
pack-objects: Use new worker pool
.gitignore | 1 +
Documentation/fetch-options.txt | 7 +
Makefile | 1 +
builtin.h | 1 +
builtin/fetch.c | 6 +-
builtin/index-pack.c | 23 +--
builtin/pack-objects.c | 175 ++++++-----------
builtin/pull.c | 6 +
builtin/submodule--helper.c | 417 ++++++++++++++++++++++++++++++++++++++++
git-submodule.sh | 177 +++--------------
git.c | 1 +
run-command.c | 99 ++++++++--
run-command.h | 21 ++
submodule.c | 100 ++++++++--
submodule.h | 2 +-
t/t7407-submodule-foreach.sh | 11 ++
thread-utils.c | 192 ++++++++++++++++++
thread-utils.h | 35 ++++
18 files changed, 960 insertions(+), 315 deletions(-)
create mode 100644 builtin/submodule--helper.c
--
2.5.0.264.g5e52b0d
next reply other threads:[~2015-08-28 1:15 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-28 1:14 Stefan Beller [this message]
2015-08-28 1:14 ` [PATCH 1/9] submodule: implement `module_list` as a builtin helper Stefan Beller
2015-08-28 1:14 ` [PATCH 2/9] submodule: implement `module_name` " Stefan Beller
2015-08-28 1:14 ` [PATCH 3/9] submodule: implement `module_clone` " Stefan Beller
2015-08-31 18:53 ` Junio C Hamano
2015-08-28 1:14 ` [PATCH 4/9] thread-utils: add a threaded task queue Stefan Beller
2015-08-28 1:14 ` [PATCH 5/9] run-command: add synced output Stefan Beller
2015-08-28 1:14 ` [PATCH 6/9] submodule: helper to run foreach in parallel Stefan Beller
2015-08-28 17:08 ` Stefan Beller
2015-08-28 1:14 ` [PATCH 7/9] fetch: fetch submodules " Stefan Beller
2015-08-28 17:00 ` Stefan Beller
2015-08-28 17:01 ` Jonathan Nieder
2015-08-28 17:12 ` Junio C Hamano
2015-08-28 17:45 ` Stefan Beller
2015-08-28 18:20 ` Jonathan Nieder
2015-08-28 18:27 ` Junio C Hamano
2015-08-28 18:35 ` Jeff King
2015-08-28 18:41 ` Junio C Hamano
2015-08-28 18:41 ` Stefan Beller
2015-08-28 18:44 ` Jeff King
2015-08-28 18:50 ` Jonathan Nieder
2015-08-28 18:53 ` Jeff King
2015-08-28 19:02 ` Stefan Beller
2015-08-28 18:59 ` Stefan Beller
2015-08-28 18:44 ` Jonathan Nieder
2015-08-28 18:36 ` Stefan Beller
2015-08-28 18:42 ` Jonathan Nieder
2015-08-31 18:56 ` Junio C Hamano
2015-08-31 19:05 ` Jeff King
2015-08-28 1:14 ` [PATCH 8/9] index-pack: Use the new worker pool Stefan Beller
2015-08-28 1:14 ` [PATCH 9/9] pack-objects: Use " Stefan Beller
2015-08-28 10:09 ` [PATCH 0/9] Progress with git submodule Johannes Schindelin
2015-08-28 16:35 ` Stefan Beller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1440724495-708-1-git-send-email-sbeller@google.com \
--to=sbeller@google.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=johannes.schindelin@gmx.de \
--cc=jrnieder@gmail.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).