Open Issues Need Help
View All on GitHub Bug: --git-diff-branch only accepts branch names, not commit hashes or tags about 2 months ago
AI Summary: The task is to fix a bug in the `code2prompt` CLI tool. Currently, the `--git-diff-branch` option only accepts local branch names as input for comparing code diffs. The fix involves modifying the `branch_exists()` function in the Rust code to use `repo.revparse_single()` instead of `repo.find_branch()`, allowing it to accept commit hashes and tags as valid inputs.
Complexity:
2/5
enhancement good first issue
mufeedvh/code2prompt
6.0K
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
MDX
#ai#chatgpt#claude#cli#command-line#command-line-tool#gpt#llm#prompt#prompt-engineering#prompt-generator#prompt-toolkit#rust