You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit fixes two issues in the git-find script: 1. Stack overflow in assign_name method: Converted from recursive to iterative implementation using a queue-based approach. This prevents stack overflow when processing commits with very deep parent chains or complex histories. The iterative version can handle arbitrarily deep chains without hitting Ruby's stack limit. 2. ARGV handling bug: Fixed incorrect treatment of ARGV[0] as an array. Changed ARGV[0] to ARGV on lines 186 and 243 to properly handle command line arguments. These changes resolve the SystemStackError reported when running git-find on repositories with complex commit histories like the official Git repo. Tested successfully on the Git repository with 78k+ commits using: git find bd40d252ec1ed2716ac9e6bbeab48b3b40bd0d58 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments