[PATCH v5 0/5] convert: add "status=delayed" to filter process protocol
- From
Lars Schneider <larsxschneider@gmail.com>
- Date
- Jun 1, 2017, 08:21 UTC
- Message-ID
- <20170601082203.50397-1-larsxschneider@gmail.com>
Hi,
here is the 5th iteration of my "status delayed" topic. Patch 1 to 3 are minor t0021 test adjustments and haven't been changed since v3. Patch 4 is a minor "extract method" refactoring in convert. Patch 5 is the new feature.
Changes since v4:
* rebased the topic on top of master to resolve conflicts and be able to share code with on Ben Peart's bp/sub-process-convert-filter topic http://public-inbox.org/git/xmqq1srgm9kq.fsf@gitster.mtv.corp.google.com/
* removed invalid errno check http://public-inbox.org/git/64b1fda4-9f79-1bd8-ad6d-43196b808d61@web.de/
* minor documentation improvement http://public-inbox.org/git/E2C871B0-DCDF-40C5-A559-C396F3C8AA66@gmail.com/
If you review this series then please read the "Delay" section in "Documentation/gitattributes.txt" first for an overview of the delay mechanism. The changes in "t/t0021/rot13-filter.pl" are easier to review if you ignore whitespace changes.
I also noticed that the diff around the "static int apply_multi_file_filter" looks really weird as my new function "int async_query_available_blobs" is right behind it with similar lines.
Thanks, Lars
RFC: http://public-inbox.org/git/D10F7C47-14E8-465B-8B7A-A09A1B28A39F@gmail.com/ v1: http://public-inbox.org/git/20170108191736.47359-1-larsxschneider@gmail.com/ v2: http://public-inbox.org/git/20170226184816.30010-1-larsxschneider@gmail.com/ v3: http://public-inbox.org/git/20170409191107.20547-1-larsxschneider@gmail.com/ v4: http://public-inbox.org/git/20170522135001.54506-1-larsxschneider@gmail.com/
Base Ref: master Web-Diff: https://github.com/larsxschneider/git/commit/23001c0fe2 Checkout: git fetch https://github.com/larsxschneider/git filter-process/delay-v5 && git checkout 23001c0fe2
Lars Schneider (5): t0021: keep filter log files on comparison t0021: make debug log file name configurable t0021: write "OUT" only on success convert: move multiple file filter error handling to separate function convert: add "status=delayed" to filter process protocol
Documentation/gitattributes.txt | 65 ++++++++++++- builtin/checkout.c | 3 + cache.h | 6 +- convert.c | 162 ++++++++++++++++++++++++-------- convert.h | 21 +++++ entry.c | 110 +++++++++++++++++++++- t/t0021-conversion.sh | 136 ++++++++++++++++++++------- t/t0021/rot13-filter.pl | 199 ++++++++++++++++++++++++++-------------- unpack-trees.c | 2 + 9 files changed, 559 insertions(+), 145 deletions(-)
base-commit: 0339965c70d68fd3831c9a5306443c869de3f6a8 -- 2.13.0