New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile-time extensions for list-object-filter #1031
base: master
Are you sure you want to change the base?
Compile-time extensions for list-object-filter #1031
Conversation
There is an issue in commit cce1da9: |
There is an issue in commit 059c5a9: |
There is an issue in commit ed9a5a1: |
There is an issue in commit 8215e27: |
8215e27
to
2247547
Compare
/submit |
Submitted as pull.1031.git.1630885899.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Ævar Arnfjörð Bjarmason wrote (reply to this):
|
User |
Makefile
Outdated
@@ -471,6 +471,11 @@ all:: | |||
# directory, and the JSON compilation database 'compile_commands.json' will be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Bagas Sanjaya wrote (reply to this):
On 06/09/21 06.51, Andrew Olsen via GitGitGadget wrote:
> From: Andrew Olsen <andrew.olsen@koordinates.com>
>
> Custom list-object-filter extensions can be compiled into Git using the
> FILTER_EXTENSIONS Makefile argument.
>
This can be squashed to previous patch.
--
An old man doll... just what I always wanted! - Clara
User |
On the Git mailing list, Bagas Sanjaya wrote (reply to this):
|
On the Git mailing list, Andrew Olsen wrote (reply to this):
|
User |
On the Git mailing list, Ævar Arnfjörð Bjarmason wrote (reply to this):
|
User |
On the Git mailing list, Robert Coup wrote (reply to this):
|
User |
e1645ec
to
3cab392
Compare
There are issues in commit 4c9b5ae: |
There are issues in commit 3cab392: |
Adds an extension:<custom-filter> option to list-object-filters, these are implemented by static libraries that must be compiled into Git. C code changes only - Makefile changes follow. Signed-off-by: Andrew Olsen <andrew.olsen@koordinates.com>
Custom list-object-filter extensions can be compiled into Git using the FILTER_EXTENSIONS Makefile argument. Signed-off-by: Andrew Olsen <andrew.olsen@koordinates.com>
Basic filter extension example which filters to a random subset of blobs, and another example which shows how to do the same in C++ and how to link in another library required by a filter extension. Documentation changes follow. Signed-off-by: Andrew Olsen <andrew.olsen@koordinates.com>
Explains how to develop a custom extension for list-objects-filter behavior, and how to compile it into a custom build of Git using the FILTER_EXTENSIONS Makefile argument. Signed-off-by: Andrew Olsen <andrew.olsen@koordinates.com>
Specify via LINK=mylinker, and defaults to $(CC)
3cab392
to
3843f33
Compare
There are issues in commit fdc1707: |
There are issues in commit 3843f33: |
Adds an extension: option to list-object-filters,
these are implemented by static libraries that must be compiled into
Git. The Makefile argument FILTER_EXTENSIONS makes it easier
to compile these extensions into a custom build of Git. When no
custom filter-extensions are supplied, Git works as normal.
cc: Ævar Arnfjörð Bjarmason avarab@gmail.com
cc: Bagas Sanjaya bagasdotme@gmail.com
cc: Andrew Olsen andrew.olsen@koordinates.com
cc: Ævar Arnfjörð Bjarmason avarab@gmail.com
cc: Robert Coup robert.coup@koordinates.com