8000 archive: Add --recurse-submodules to git-archive command by Alphadelta14 · Pull Request #1359 · git/git · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

archive: Add --recurse-submodules to git-archive command #1359

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Alphadelta14
Copy link
@Alphadelta14 Alphadelta14 commented Oct 12, 2022

This makes it possible to include submodule contents in an archive command.

The inspiration for this change comes from this Github thread, dear-github/dear-github#214, with at least 160 👍🏻 's at the time of writing.
(I stumbled upon it because I wanted it as well).

I figured the underlying implementation wouldn't be too difficult with most of the plumbing already in place, so I decided
to add the relevant logic to the client git-archive command.

One of the trickier parts of this implementation involved teaching read_tree about submodules.
Some of the troublesome areas were still using the the_repository references to look up commit or tree or oid information.
I ended up deciding that read_tree_fn_t would probably be best off having a concrete repo reference
since it allows changing the context to a subrepo where needed (even though some of the usages did not need it specifically).

I am open to feedback since this is all quite new to me :)

cc: René Scharfe l.s.r@web.de
cc: Phillip Wood phillip.wood123@gmail.com
cc: Glen Choo chooglen@google.com
cc: Heather Lapointe hthralpha@gmail.com

@gitgitgadget-git
Copy link

Welcome to GitGitGadget

Hi @Alphadelta14, and welcome to GitGitGadget, the GitHub App to send patch series to the Git mailing list from GitHub Pull Requests.

Please make sure that your Pull Request has a good description, as it will be used as cover letter. You can CC potential reviewers by adding a footer to the PR description with the following syntax:

CC: Revi Ewer <revi.ewer@example.com>, Ill Takalook <ill.takalook@example.net>

Also, it is a good idea to review the commit messages one last time, as the Git project expects them in a quite specific form:

  • the lines should not exceed 76 columns,
  • the first line should be like a header and typically start with a prefix like "tests:" or "revisions:" to state which subsystem the change is about, and
  • the commit messages' body should be describing the "why?" of the change.
  • Finally, the commit messages should end in a Signed-off-by: line matching the commits' author.

It is in general a good idea to await the automated test ("Checks") in this Pull Request before contributing the patches, e.g. to avoid trivial issues such as unportable code.

Contributing the patches

Before you can contribute the patches, your GitHub username needs to be added to the list of permitted users. Any already-permitted user can do that, by adding a comment to your PR of the form /allow. A good way to find other contributors is to locate recent pull requests where someone has been /allowed:

Both the person who commented /allow and the PR author are able to /allow you.

An alternative is the channel #git-devel on the Libera Chat IRC network:

<newcontributor> I've just created my first PR, could someone please /allow me? https://github.com/gitgitgadget/git/pull/12345
<veteran> newcontributor: it is done
<newcontributor> thanks!

Once on the list of permitted usernames, you can contribute the patches to the Git mailing list by adding a PR comment /submit.

If you want to see what email(s) would be sent for a /submit request, add a PR comment /preview to have the email(s) sent to you. You must have a public GitHub email address for this. Note that any reviewers CC'd via the list in the PR description will not actually be sent emails.

After you submit, GitGitGadget will respond with another comment that contains the link to the cover letter mail in the Git mailing list archive. Please make sure to monitor the discussion in that thread and to address comments and suggestions (while the comments and suggestions will be mirrored into the PR by GitGitGadget, you will still want to reply via mail).

If you do not want to subscribe to the Git mailing list just to be able to respond to a mail, you can download the mbox from the Git mailing list archive (click the (raw) link), then import it into your mail program. If you use GMail, you can do this via:

curl -g --user "<EMailAddress>:<Password>" \
    --url "imaps://imap.gmail.com/INBOX" -T /path/to/raw.txt

To iterate on your change, i.e. send a revised patch or patch series, you will first want to (force-)push to the same branch. You probably also want to modify your Pull Request description (or title). It is a good idea to summarize the revision by adding something like this to the cover letter (read: by editing the first comment on the PR, i.e. the PR description):

Changes since v1:
- Fixed a typo in the commit message (found by ...)
- Added a code comment to ... as suggested by ...
...

To send a new iteration, just add another PR comment with the contents: /submit.

Need help?

New contributors who want advice are encouraged to join git-mentoring@googlegroups.com, where volunteers who regularly contribute to Git are willing to answer newbie questions, give advice, or otherwise provide mentoring to interested contributors. You must join in order to post or view messages, but anyone can join.

You may also be able to find help in real time in the developer IRC channel, #git-devel on Libera Chat. Remember that IRC does not support offline messaging, so if you send someone a private message and log out, they cannot respond to you. The scrollback of #git-devel is archived, though.

@gitgitgadget-git
Copy link

There are issues in commit b8e745f:
archive: Add --recurse-submodules to git-archive command
Prefixed commit message must be in lower case

@Alphadelta14 Alphadelta14 force-pushed the archive-recurse-submodules branch 3 times, most recently from fd3e3b2 to 9c43294 Compare October 12, 2022 12:54
This was referenced Oct 12, 2022
@gitgitgadget-git
Copy link

There are issues in commit e957a74:
archive: update streaming to use target repo
Commit checks stopped - the message is too short
Commit not signed off

@gitgitgadget-git
Copy link

There are issues in commit acd92e2:
archive: add test cases for git archive --recurse-submodules
Commit checks stopped - the message is too short
Commit not signed off

@Alphadelta14 Alphadelta14 force-pushed the archive-recurse-submodules branch from acd92e2 to 41664a5 Compare October 12, 2022 16:26
@Ikke
Copy link
Contributor
Ikke commented Oct 12, 2022

/allow

@gitgitgadget-git
Copy link

User Alphadelta14 is now allowed to use GitGitGadget.

WARNING: Alphadelta14 has no public email address set on GitHub;
GitGitGadget needs an email address to Cc: you on your contribution, so that you receive any feedback on the Git mailing list. Go to https://github.com/settings/profile to make your preferred email public to let GitGitGadget know which email address to use.

@Alphadelta14
Copy link
Author

/submit

@gitgitgadget-git
Copy link

Submitted as pull.1359.git.git.1665597148042.gitgitgadget@gmail.com

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-git-1359/Alphadelta14/archive-recurse-submodules-v1

To fetch this version to local tag pr-git-1359/Alphadelta14/archive-recurse-submodules-v1:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-git-1359/Alphadelta14/archive-recurse-submodules-v1

@Alphadelta14
Copy link
Author

/submit

@gitgitgadget-git
Copy link

Submitted as pull.1359.v2.git.git.1665660960.gitgitgadget@gmail.com

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-git-1359/Alphadelta14/archive-recurse-submodules-v2

To fetch this version to local tag pr-git-1359/Alphadelta14/archive-recurse-submodules-v2:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-git-1359/Alphadelta14/archive-recurse-submodules-v2

@gitgitgadget-git
Copy link

On the Git mailing list, René Scharfe wrote (reply to this):

Am 13.10.22 um 13:35 schrieb Heather Lapointe via GitGitGadget:
> This makes it possible to include submodule contents in an archive command.

Great!

> The inspiration for this change comes from this Github thread,
> https://github.com/dear-github/dear-github/issues/214, with at least 160
> 👍🏻 's at the time of writing. (I stumbled upon it because I wanted it as
> well).
>
> I figured the underlying implementation wouldn't be too difficult with most
> of the plumbing already in place, so I decided to add the relevant logic to
> the client git-archive command.
>
> One of the trickier parts of this implementation involved teaching read_tree
> about submodules. Some of the troublesome areas were still using the
> the_repository references to look up commit or tree or oid information. I
> ended up deciding that read_tree_fn_t would probably be best off having a
> concrete repo reference since it allows changing the context to a subrepo
> where needed (even though some of the usages did not need it specifically).
>
> I am open to feedback since this is all quite new to me :)
>
> TODO:

This list confuses me:

>  * working implementation

What exactly is not working, yet?

>  * valgrind

What's up with it?  Does is report errors or leaks?

>  * add regression tests

This series adds a new test script.  Do you plan to add more checks?

>  * update documentation with new flag

That I can understand: Indeed Documentation/git-archive.txt would need
an update.

>  * submit to mailing list

But you already did submit two iterations of this series to the Git
mailing list!?

>
> Alphadelta14 (2):
>   archive: add --recurse-submodules to git-archive command
>   archive: fix a case of submodule in submodule traversal

We prefer to keep known bugs out of the repo.  It helps when bisecting,
for example.  So it would be better to squash the fix into the patch
that adds the feature.  But...

>  archive-tar.c                 | 14 +++--
>  archive-zip.c                 | 14 ++---
>  archive.c                     | 99 ++++++++++++++++++++++++-----------
>  archive.h                     |  8 +--
>  builtin/checkout.c            |  2 +-
>  builtin/log.c                 |  2 +-
>  builtin/ls-files.c            | 10 ++--
>  builtin/ls-tree.c             | 16 +++---
>  list-objects.c                |  2 +-
>  merge-recursive.c             |  2 +-
>  revision.c                    |  4 +-
>  sparse-index.c                |  2 +-
>  t/t5005-archive-submodules.sh | 84 +++++++++++++++++++++++++++++
>  tree.c                        | 93 ++++++++++++++++++++++----------
>  tree.h                        | 11 ++--
>  wt-status.c                   |  2 +-
>  16 files changed, 269 insertions(+), 96 deletions(-)
>  create mode 100755 t/t5005-archive-submodules.sh

... this is all a bit much for a single patch, I feel.  Giving
parse_tree_gently() a repo parameter, adding repo_parse_tree(), using
it in read_tree_at(), adding a repo parameter to read_tree_fn_t,
letting read_tree_at() recurse into submodules and adding the new
option to git archive all seem like topics worth their own patch and
rationale.

You probably have all of that in your head right now, but at least my
attention span and working memory capacity requires smaller morsels.

>
>
> base-commit: e85701b4af5b7c2a9f3a1b07858703318dce365d
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1359%2FAlphadelta14%2Farchive-recurse-submodules-v2
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1359/Alphadelta14/archive-recurse-submodules-v2
> Pull-Request: https://github.com/git/git/pull/1359
>
> Range-diff vs v1:
>
>  1:  41664a59029 = 1:  41664a59029 archive: add --recurse-submodules to git-archive command
>  -:  ----------- > 2:  68f7830c6d9 archive: fix a case of submodule in submodule traversal
>

@gitgitgadget-git
Copy link

User René Scharfe <l.s.r@web.de> has been added to the cc: list.

@gitgitgadget-git
Copy link

On the Git mailing list, Heather Lapointe wrote (reply to this):

---- On Thu, 13 Oct 2022 10:53:44 -0700 René Scharfe  wrote ---

 > > I am open to feedback since this is all quite new to me :) 
 > > 
 > > TODO: 
 >  
 > This list confuses me: 

I apologize. I'm new to this repo and workflow.
I had been using checkboxes in github, which look like `- [x]` for ones that I have completed.
They all got converted into items that look like they needed doing via GitGitGadget.

The only remaining one was to update documentation.

 >  
 > > 
 > > Alphadelta14 (2): 
 > >   archive: add --recurse-submodules to git-archive command 
 > >   archive: fix a case of submodule in submodule traversal 
 >  
 > We prefer to keep known bugs out of the repo.  It helps when bisecting, 
 > for example.  So it would be better to squash the fix into the patch 
 > that adds the feature.  But... 

Absolutely can do.

 >  
 > >  archive-tar.c                 | 14 +++-- 
 > >  archive-zip.c                 | 14 ++--- 
 > >  archive.c                     | 99 ++++++++++++++++++++++++----------- 
 > >  archive.h                     |  8 +-- 
 > >  builtin/checkout.c            |  2 +- 
 > >  builtin/log.c                 |  2 +- 
 > >  builtin/ls-files.c            | 10 ++-- 
 > >  builtin/ls-tree.c             | 16 +++--- 
 > >  list-objects.c                |  2 +- 
 > >  merge-recursive.c             |  2 +- 
 > >  revision.c                    |  4 +- 
 > >  sparse-index.c                |  2 +- 
 > >  t/t5005-archive-submodules.sh | 84 +++++++++++++++++++++++++++++ 
 > >  tree.c                        | 93 ++++++++++++++++++++++---------- 
 > >  tree.h                        | 11 ++-- 
 > >  wt-status.c                   |  2 +- 
 > >  16 files changed, 269 insertions(+), 96 deletions(-) 
 > >  create mode 100755 t/t5005-archive-submodules.sh 
 >  
 > ... this is all a bit much for a single patch, I feel.  Giving 
 > parse_tree_gently() a repo parameter, adding repo_parse_tree(), using 
 > it in read_tree_at(), adding a repo parameter to read_tree_fn_t, 
 > letting read_tree_at() recurse into submodules and adding the new 
 > option to git archive all seem like topics worth their own patch and 
 > rationale. 
 > You probably have all of that in your head right now, but at least my 
 > attention span and working memory capacity requires smaller morsels. 
 
Does this mean I should create multiple PRs?
Or should they just be split up into individual commits.
I will work off assuming the latter.

I am comfortable rewriting history as long as I understand the direction to go in.

Should each individual patch be completely standalone?
(To the point where each set, with the previous patches should produce a working application?
Or is having the patch broken up by groups of changes, with some level of expecting the final
functionality good?)

But thanks so far. I will get working on this (and review your next set of messages).

@gitgitgadget-git
Copy link

On the Git mailing list, René Scharfe wrote (reply to this):

Am 13.10.22 um 23:23 schrieb Heather Lapointe:
> I had been using checkboxes in github, which look like `- [x]` for
> ones that I have completed. They all got converted into items that
> look like they needed doing via GitGitGadget.
>
> The only remaining one was to update documentation.

I opened https://github.com/html-to-text/node-html-to-text/issues/260 to
see if they are willing to support this kind of to-do lists better.

> Does this mean I should create multiple PRs? Or should they just be
> split up into individual commits. I will work off assuming the
> latter.

Right, I meant multiple commits.

> Should each individual patch be completely standalone? (To the point
> where each set, with the previous patches should produce a working
> application? Or is having the patch broken up by groups of changes,
> with some level of expecting the final functionality good?)

Yes, each commit should leave Git in a working state.  Adding new global
functions that are only used by later commits in the series is fine.

René

Expect that tree walking may switch repository contexts for cases
such as submodules.
Added compatibility macros for existing cases.

Annotate an existing issue where repo is wrong when traversing.

Signed-off-by: Heather Lapointe <alpha@alphaservcomputing.solutions>
@Alphadelta14 Alphadelta14 force-pushed the archive-recurse-submodules branch from 68f7830 to 654758e Compare October 16, 2022 20:57
@gitgitgadget-git
Copy link

There are issues in commit 6b2d0c9:
tree: update cases to use repo_ tree methods
Lines in the body of the commit messages should be wrapped between 60 and 76 characters.
Indented lines, and lines without whitespace, are exempt

@gitgitgadget-git
Copy link

There are issues in commit 4d88d18:
archive: add --recurse-submodules to git-archive command
Lines in the body of the commit messages should be wrapped between 60 and 76 characters.
Indented lines, and lines without whitespace, are exempt

For cases which had already had a repository instance,
update those to use the repo_parse_tree* methods.

Leave the remaining invocations that were already using the_repository
alone.

Signed-off-by: Heather Lapointe <alpha@alphaservcomputing.solutions>
@Alphadelta14 Alphadelta14 force-pushed the archive-recurse-submodules < 8000 /span> branch from 654758e to 6a54a48 Compare October 16, 2022 21:06
@gitgitgadget-git
Copy link

On the Git mailing list, Junio C Hamano wrote (reply to this):

Junio C Hamano <gitster@pobox.com> writes:

>> I personally doubt it is generally a good idea, as it sets a bad
>> pattern that tempts unsuspecting users to blindly copy and paste it
>> to their $HOME/.gitconfig without realizing what its ramifications
>> are, but the easiest workaround may be to mimic what was done in
>> t/lib-submodule-update.sh that sets protocol.file.allow
>> configuration knob globally.
>
> I'll queue this at the tip of your topic when I rebuild 'seen' for
> today's integration run.
>
>  t/t1023-tree-read-tree-at.sh  | 4 +++-
>  t/t5005-archive-submodules.sh | 7 ++++---
>  2 files changed, 7 insertions(+), 4 deletions(-)

It seems to have cleared the "submodule tests no longer can use
submodules with file:// without tweaking the config" issue I saw
earlier.  It seems to give us a segfault in win+VS test, though.

https://github.com/git/git/actions/runs/3285647856/jobs/5413033844#step:5:245

Thanks.

@gitgitgadget-git
Copy link

There was a status update in the "Cooking" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

There was a status update in the "Cooking" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

This patch series was integrated into seen via aea3d0c.

@gitgitgadget-git
Copy link

On the Git mailing list, Junio C Hamano wrote (reply to this):

Junio C Hamano <gitster@pobox.com> writes:

> It seems to have cleared the "submodule tests no longer can use
> submodules with file:// without tweaking the config" issue I saw
> earlier.  It seems to give us a segfault in win+VS test, though.
>
> https://github.com/git/git/actions/runs/3285647856/jobs/5413033844#step:5:245

Here is a pair of CI run that attributes the breakage to this topic:

  https://github.com/git/git/actions/runs/3293333066

is one CI run on 'seen' that has this topic and everything else in
flight.  This topic is at the tip of 'seen' when this CI run was
done, and win+VS test (8) seems to be failing the same way as the
previous one I reported earlier above.

Dropping the merge of this topic (i.e. "git reset --hard HEAD^") out
of 'seen' and running CI again: 

  https://github.com/git/git/actions/runs/3293553109

we can see that all tests pass there, which unfortunately is a rare
event these days (well, the segfaulting code is something this topic
adds, so it is not surprising that the rest of the topics in flight
would not segfault the same way).

Do you need help from somebody equipped with Windows knowledge and
build/test environment?  As I do not do Windows or macOS, I cannot
offer to be one myself, but the development community is full of
capable folks and help is often a request away.

Thanks.

@gitgitgadget-git
Copy link

This patch series was integrated into seen via efab989.

@gitgitgadget-git
Copy link

There was a status update in the "Cooking" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

On the Git mailing list, Glen Choo wrote (reply to this):

Hi Heather!

We covered this series in Review Club [1]. We will leave review on
this thread, though you may find the notes [2] useful.

[1] https://lore.kernel.org/git/kl6l35bbsubq.fsf@chooglen-macbookpro.roam.corp.google.com
[2] https://docs.google.com/document/d/14L8BAumGTpsXpjDY8VzZ4rRtpAjuGrFSRqn3stCuS_w/edit?pli=1#

"Heather Lapointe via GitGitGadget" <gitgitgadget@gmail.com> writes:

> This makes it possible to include submodule contents in an archive command.
>
> The inspiration for this change comes from this Github thread,
> https://github.com/dear-github/dear-github/issues/214, with at least 160
> 👍🏻 's at the time of writing. (I stumbled upon it because I wanted it as
> well).
>
> I figured the underlying implementation wouldn't be too difficult with most
> of the plumbing already in place, so I decided to add the relevant logic to
> the client git-archive command.
>
> One of the trickier parts of this implementation involved teaching read_tree
> about submodules. Some of the troublesome areas were still using the
> the_repository references to look up commit or tree or oid information. I
> ended up deciding that read_tree_fn_t would probably be best off having a
> concrete repo reference since it allows changing the context to a subrepo
> where needed (even though some of the usages did not need it specifically).
>
> I am open to feedback since this is all quite new to me :)

The Review Club participants generally agreed that this is a really
well-structured and easy-to-follow series :) As far as new contributions
go, this is really good.

I think this series broadly makes sense, i.e.:

- the implementation of plumbing "struct repository" through read_tree()
  (this might also be really helpful for future work)
- the interface (using "--recurse-submodules")
- the expected behavior

So I can see this going through with a bit of polish. The others have
covered style issues quite thoroughly, so I won't comment on those.

@gitgitgadget-git
Copy link

User Glen Choo <chooglen@google.com> has been added to the cc: list.

@gitgitgadget-git
Copy link

On the Git mailing list, Heather Lapointe wrote (reply to this):

On Wed, Oct 26, 2022 at 6:15 PM Glen Choo <chooglen@google.com> wrote:

> The Review Club participants generally agreed that this is a really
> well-structured and easy-to-follow series :) As far as new contributions
> go, this is really good.
>
> I think this series broadly makes sense, i.e.:
>
> - the implementation of plumbing "struct repository" through read_tree()
>   (this might also be really helpful for future work)
> - the interface (using "--recurse-submodules")
> - the expected behavior
>
> So I can see this going through with a bit of polish. The others have
> covered style issues quite thoroughly, so I won't comment on those.

Thank you! I've started looking through a lot of these!
I have been a bit swamped with my own work or I would have contributed
another patch series by now.

@gitgitgadget-git
Copy link

User Heather Lapointe <hthralpha@gmail.com> has been added to the cc: list.

@gitgitgadget-git
Copy link

There was a status update in the "Cooking" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

This patch series was integrated into seen via ce948a5.

@gitgitgadget-git
Copy link

This patch series was integrated into seen via 599b7ae.

@gitgitgadget-git
Copy link

This patch series was integrated into seen via b3fdd3a.

@gitgitgadget-git
Copy link

This patch series was integrated into seen via f6d8d35.

@gitgitgadget-git
Copy link

There was a status update in the "Stalled" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

There was a status update in the "Stalled" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

There was a status update in the "Stalled" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

There was a status update in the "Stalled" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

There was a status update in the "Stalled" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

There was a status update in the "Discarded" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

There was a status update in the "Discarded" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

@gitgitgadget-git
Copy link

There was a status update in the "Discarded" section about the branch hl/archive-recursive on the Git mailing list:

"git archive" has been taught "--recurse-submodules" option to
create a tarball that includes contents from submodules.

Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only
difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <pull.1359.v3.git.git.1665973401.gitgitgadget@gmail.com>

axxel added a commit to zxing-cpp/zxing-cpp that referenced this pull request Dec 29, 2022
This fixes #377 and #445. See also discussion in #332. I would have rather
not put 18k lines of code back into this repo but the lack of progress in
git/git#1359 and the upcoming 2.0 release made me
think this is the best option forward.
@axxel
Copy link
axxel commented Feb 15, 2024

Me being a humble git user who had high hopes this would make his life easier, may I ask: was this abandoned just because there was no-one who would be willing and able to look into and fix a segfault on the win+VS build? If so, that would be really sad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0