Skip to content
New issue

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

the input device is not a TTY #43

Closed
roukmoute opened this issue Feb 3, 2023 · 2 comments
Closed

the input device is not a TTY #43

roukmoute opened this issue Feb 3, 2023 · 2 comments
Labels
wontfix This will not be worked on

Comments

@roukmoute
Copy link

Hi,

I've got this problem, do you have any idea?
It seems like error from docker.

➤  rustup update                    
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: checking for self-updates

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.67.0 (fc594f156 2023-01-24)

info: cleaning up downloads & tmp directories
╰─➤  cat .git/hooks/prepare-commit-msg
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: .git/hooks/prepare-commit-msg
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ #!/bin/sh
   2   │ 
   3   │ ### BEGIN GPTCOMMIT HOOK ###
   4   │ gptcommit prepare-commit-msg --commit-msg-file "$1" --commit-source "$2" --commit-sha "$3"
   5   │ ### END GPTCOMMIT HOOK ###
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
╰─➤  RUST_LOG=trace git commit
the input device is not a TTY
@zurawiki
Copy link
Owner

zurawiki commented Feb 3, 2023

Interesting. Do you have a repro for me to try out?

@zurawiki zurawiki added bug Something isn't working needs repro Cannot be reproduced by the maintainers. labels Feb 3, 2023
@zurawiki
Copy link
Owner

zurawiki commented Mar 1, 2023

This seems related to docker and not gptcommit. Make sure you run docker with the -i flag to have a pseudo-TTY enabled.

Closing this issue out as won't fix. If you disagree, feel free to comment and let me know

@zurawiki zurawiki closed this as completed Mar 1, 2023
@zurawiki zurawiki added wontfix This will not be worked on and removed bug Something isn't working needs repro Cannot be reproduced by the maintainers. labels Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants