Skip to content

progress.rs misleadingly claims "we target 32bit systems only" #1530

Closed
@EliahKagan

Description

@EliahKagan

Current behavior 😯

It's unclear why core.packedGitLimit is not applicable.

progress.rs gives the status of core.packedGitLimit as:

https://github.com/Byron/gitoxide/blob/242fedc973c56b6c1b6f150af99dda972a67f547/src/plumbing/progress.rs#L77-L80

This item was introduced in 0e9bd41 (#555).

I'm not clear on what "we target 32bit systems only" means here. It sounds like it is saying the code is not meant to be built and run on 64-bit targets, which is of course not the case--64-bit targets are more common, and this was already the case a couple of years ago.

Expected behavior 🤔

Since gitoxide is most often used on 64-bit targets, progress.rs should not state "we target 32bit systems only."

Secondarily, the entry for core.packedGitLimit should more clearly explain why it isn't applicable. However, changing the string to just say "we don't use a windowing mechanism" would be sufficient to fix the main issue.

Git behavior

Since the underlying context is documenting how and why gitoxide and Git differ with respect whether core.packedGitLimit is supported, the Git behavior, in documentation or otherwise, may not be directly relevant.

However, the Git documentation on core.packedGitLimit is linked above.

Steps to reproduce 🕹

Examine progress.rs as linked and quoted above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acknowledgedan issue is accepted as shortcoming to be fixedhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions