naholyr / github-todos

Git hook to convert your TODOs into Github issues
MIT License
1.29k stars 33 forks source link

Repeating issues #26

Open yiown opened 8 years ago

yiown commented 8 years ago

I have lines going like: // TODO #10 #9 #8 #7 what is this With the many issues there on github.

chrisdp commented 8 years ago

Just got github-todos running and I'm having a the same problem. Going to poke around a bit and see if i can find the problem. I'll post anything I can find.

chrisdp commented 8 years ago

I couldn't find the problem myself but I've been doing as a work around is I left confirm-create set to true and set inject-issue to true. When I do my push it asks me if I want to make the issue. Already created issues will have # at the start of the title. At this point I hit "r". This will not create a new issue and will add the title to the .github-todos-ignore file so its not asked again. Its not the best solution but on a small project its livable. I'll keep poking about to see if I can find a long term fix. If not hopefully the author will be able to locate the bug.

naholyr commented 8 years ago

It's really a weird result, I could not reproduce it yet but I'll try again later, thanks for the report