fix(hooks): point post-git-ops.sh fallback at dist/cli.js, not src/cli.js (#1979) - #2192
Merged
Conversation
…i.js (#1979) Same broken fallback build path already fixed for update-graph.sh in #1836: src/cli.js has never existed in this repo (CLI entry point is TypeScript at src/cli.ts, compiled to dist/cli.js). The else branch (hit when the codegraph binary isn't on PATH) silently failed (stderr to /dev/null), so BUILD_OK stayed 0 and the full rebuild after a rebase/merge/pull never happened for contributors without a global codegraph install. Closes #1979 docs check acknowledged: hook-script-only fix, no README/CLAUDE.md/ROADMAP surface change
Contributor
Greptile SummaryCorrects the post-git-operation hook’s local CLI fallback to invoke the compiled Confidence Score: 5/5The PR appears safe to merge, with the fallback now targeting the repository’s actual compiled CLI entry point. The one-line change replaces a nonexistent JavaScript source path with Important Files Changed
Reviews (1): Last reviewed commit: "fix(hooks): point post-git-ops.sh fallba..." | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
Closes #1979