Skip to content

Conversation

@nobu
Copy link
Member

@nobu nobu commented Feb 25, 2024

  • Redirect git ls-files without shelling out.

  • When building by gem, __FILE__ is the path name given in the command line, or the gemspec file name in the current directory. In that case, comparison it and expanded path never equal. Compare listed file names with the base name of __FILE__ instead.

nobu added 2 commits February 25, 2024 17:03
- Redirect `git ls-files` without shelling out.

- When building by `gem`, `__FILE__` is the path name given in the
  command line, or the gemspec file name in the current directory.  In
  that case, comparison it and expanded path never equal.  Compare
  listed file names with the base name of `__FILE__` instead.
@nobu nobu merged commit ac5bab8 into master Feb 25, 2024
@nobu nobu deleted the gemspec branch February 25, 2024 08:31
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.

2 participants