Extract readFromGitRef helper function to eliminate duplicate code for running git show <ref>:<path> commands. The helper is now used by: - checkGitForIssues() in autoimport.go - importFromGit() in autoimport.go - readFirstIssueFromGit() in init.go The scanning/parsing logic is intentionally kept separate since each function has different requirements (error handling, SetDefaults, etc). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
56 KiB
56 KiB