Skip to content

Conversation

Byron
Copy link
Member

@Byron Byron commented Jul 4, 2024

Previously there was a race condition that would cause archives to be created either with or without arguments, depending on which test was run first.

After its creation, they wouldn't be looked at again as on disk they would already be available in their usable form.

Fixes #1440.

… with arguments. (#1440)

Previously there was a race condition that would cause archives to be created either with
or without arguments, depending on which test was run first.

After its creation, they wouldn't be looked at again as on disk they would already be available
in their usable form.
let link_entry_oid = hex_to_id("2e65efe2a145dda7ee51d1741299f848e5bf752e");
#[cfg(not(windows))]
let link_entry_mode = EntryKind::Link;
Copy link
Member

@EliahKagan EliahKagan Jul 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As detailed in #1442 and mentioned in #1440 (comment), this changes the expected hash values to what I believe they should be on all platforms including Windows, but currently the repository that is created when the fixture script is actually run on Windows produces the situation described by the old values.

This comment is for reference in connection with #1442. I do not advocate the old code here be brought back.

(For some reason GitHub is not showing the whole diff here, even though I selected it when making this comment. Oh well.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thank you! I yet have to catch up on the new issues though, to see if there is anything that can be done.

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

Successfully merging this pull request may close these issues.

gix-diff make_diff_repo test fixture archive is always regenerated
2 participants