We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
The Git console doesn't open when a hook fails. There's no user feedback at all indicating something failed.
Example minimal git hook provided in minimal config section.
NVIM v0.10.4 Build type: Release LuaJIT 2.1.1713484068
Debian 12
The console should auto-open to let the user see the hook output.
The hook output is not displayed.
Minimal setup:
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", -- latest stable release lazypath, }) end vim.opt.rtp:prepend(lazypath) require("lazy").setup({ "NeogitOrg/neogit", dependencies = { "nvim-lua/plenary.nvim", -- required "nvim-telescope/telescope.nvim", -- optional "sindrets/diffview.nvim", -- optional }, config = function() require("neogit").setup({}) end, })
.git/hooks/commit-msg:
.git/hooks/commit-msg
#!/bin/sh echo "Hook failed" exit 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Hi,
The Git console doesn't open when a hook fails. There's no user feedback at all indicating something failed.
Example minimal git hook provided in minimal config section.
Neovim version
NVIM v0.10.4
Build type: Release
LuaJIT 2.1.1713484068
Operating system and version
Debian 12
Steps to reproduce
Expected behavior
The console should auto-open to let the user see the hook output.
Actual behavior
The hook output is not displayed.
Minimal config
Minimal setup:
.git/hooks/commit-msg
:The text was updated successfully, but these errors were encountered: