Skip to content

Conversation

@Trishun
Copy link
Owner

@Trishun Trishun commented Oct 7, 2025

No description provided.

John Wiegley and others added 30 commits October 7, 2019 11:49
* git-branch-done: merge --no-ff current topic branch to desired branch
* git-merge-to: merge --ff current branch to desired branch
* git-release: release work through CI/CD merging strategy
chore: Fix POSIX shell syntax errors
chore: Fix most shell deprecations
jwiegley and others added 10 commits January 23, 2023 15:32
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>
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.

5 participants