Skip to content
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

Fix check_for_lfs_files.sh not working in some shells #649

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

falko17
Copy link
Collaborator

@falko17 falko17 commented Oct 18, 2023

In check_for_lfs_files.sh, we need to query all non-SEE assets. To do this, we have previously used an extended globbing expression in Bash (see man bash for details).

However, it turns out some bash installations (specifically, some Windows GitBash instances) don't handle this correctly. To avoid this problem, I've replaced the extglob pattern with a git diff exclusion pattern, which should have the same effect while working on more machines.

In check_for_lfs_files.sh, we need to query all non-SEE assets.
To do this, we have previously used an extended globbing expression in Bash
(see `man bash` for details).

However, it turns out some bash installations (specifically, some Windows
GitBash instances) don't handle this correctly. To avoid this problem,
I've replaced the extglob pattern with a git diff exclusion pattern,
which should have the same effect while working on more machines.
@falko17 falko17 added the no release No new release will be created after a merge when setting this on a PR. label Oct 18, 2023
@falko17 falko17 requested a review from koschke October 18, 2023 17:59
@falko17 falko17 self-assigned this Oct 18, 2023
Copy link
Collaborator

@koschke koschke left a comment

Choose a reason for hiding this comment

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

Can be merged

@koschke koschke merged commit 8497930 into master Oct 18, 2023
10 checks passed
@koschke koschke deleted the fix-lfs-check-gitscript branch October 18, 2023 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no release No new release will be created after a merge when setting this on a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants