github-todos icon indicating copy to clipboard operation
github-todos copied to clipboard

Failed injecting issues

Open coryoso opened this issue 10 years ago • 4 comments

Getting

Warning: failed injecting issues, you may need to do it manually in following files:
Error: Command failed: /bin/sh -c git commit -m '[Github-Todos] Inject issue numbers'

after pushing to github

coryoso avatar Jan 26 '16 12:01 coryoso

I have the same issue when pushing to github:

[Github-Todos] Injecting issue numbers to files…
[Github-Todos] Failed to commit
[Github-Todos] Warning: failed injecting issues, you may need to do it manually in following files:
[Github-Todos] Error: Command failed: /bin/sh -c git commit -m '[Github-Todos] Inject issue numbers'

sunnylbk avatar Feb 04 '16 15:02 sunnylbk

+1

zevaverbach avatar Mar 31 '16 17:03 zevaverbach

I am trying to inject issue into a pre-existing repo having some TODO in comments... I am not sure I am using it properly, but after initialize/config github-todo, I have tried this:

github-todos _hook --remote origin --range 75fddf41d46c8bffd49006f5ee760a367d88e3d2

where I have passed only the last commit hash. I have obtained the following result:

[Github-Todos] Injecting issue numbers to files…
[Github-Todos] Failed to commit
[Github-Todos] Warning: failed injecting issues, you may need to do it manually in following files:
[Github-Todos] Error: Command failed: git commit -m '[Github-Todos] Inject issue numbers'

On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean

[Github-Todos] OK.

No new issue has been pushed. Can someone tell me where I am wrong?

Thank you for this great tool, my best regards.

szaghi avatar Sep 09 '16 09:09 szaghi

This does not seem to work for me on archlinux too.

fennecdjay avatar Nov 29 '16 17:11 fennecdjay