Skip to content

Howto push to Gerrit? #811

Closed Answered by CKolkey
dapc11 asked this question in Q&A
Sep 5, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

If you make a fork, sure. Add a line in lua/neogit/popups/push/init.lua for a new action, and action.lua in that folder for the function. (or just do it inline, doesn't matter).

But there's no built-in mechanism to do custom popup commands (at this time).

If you have a repo that exclusively uses gerrit, you could do something like vim.loop.os_getenv("USE_GERRIT") to determine if you should modify the branch argument being passed or not.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dapc11
Comment options

@CKolkey
Comment options

Answer selected by dapc11
@dapc11
Comment options

@CKolkey
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants