vermiculus / magithub

**DEPRECATED - please use Forge instead!** -- Magit-based interfaces to GitHub
GNU General Public License v3.0
579 stars 62 forks source link

Issues and pull requests not shown in repos I own #342

Closed tohojo closed 6 years ago

tohojo commented 6 years ago

It seems that when I open a magit buffer for a repository that I own myself, I get issue and pull requests sections in the status buffer. Whereas if I open a repo I don't own, I do.

I have not been able to figure out why that is. Help? :)

tohojo commented 6 years ago

Hmm, turns out the section hook was not being installed properly in some cases. Managed to fix that, so everything is working now :)

vermiculus commented 6 years ago

Do you know if this was an issue with your configuration or is there some follow-up that can be done here?

tohojo commented 6 years ago

I think it was an issue with my configuration. The reason I was seeing the issues in some repos was that the magit-status-sections-hook is buffer-local, and so the buffers that I already had open when running magithub-feature-autoinject weren't updated.

After making sure the autoinject hook was run correctly in my init, and restarting emacs, everything works as its supposed to :)

vermiculus commented 6 years ago

Awesome, and a likely explanation 😄