gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Pass through error messages from commit

Open CGMossa opened this issue 3 years ago • 1 comments

Describe the bug I have a repository with hooks that warn of something or another.

I didn't ensure that the thing was done, so when I tried to commit some changes, I got this:

image

Using git commit -m I got this:

PS C:\Users\angus\Documents\GitHub\DenmarkMap> git commit -m "another configuration commit"
README.md is out of date; please re-knit README.Rmd
use 'git commit --no-verify' to override this check

Expected behavior

I expected to get the message in gitui.

Context (please complete the following information):

  • OS/Distro + Version: Windows 10,
  • GitUI Version: 0.20.1
  • Rust version: rustc 1.60.0 (7737e0b5c 2022-04-04)

CGMossa avatar Apr 14 '22 19:04 CGMossa

It looks more like an issue running the hooks in the first place. Hard for me repro on a non windows machine though :(

extrawurst avatar Apr 16 '22 11:04 extrawurst

This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 15 '22 19:10 stale[bot]