-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Output from pre-receive hook does not echo to client. #652
Comments
Is it possible to trigger this error with a Minimal, Complete & Verifiable Example? |
@dscho I'm not sure how to make this more minimal, though I'm happy to carry out any suggestions. Thoughts? |
There was some documentation updates on the main list in this area. a quick search found this possibility https://public-inbox.org/git/[email protected]/ For the MVCE, maybe see if you can develop a very short local method of setting up the scenario. I'm guessing that creating the setup is the hardest, if one doen't have the right stuff to hand. I don't know enough about the hooks and remote service to advise here. |
From another vague memory, I seem to recall that There is a stalled ticket about this here: #2376. I will close this here ticket in favor of that ticket. |
Hook output should echo at the client side, and does indeed when using the (non-Windows) Git client, but does not echo when using git-for-windows. For verification, output from the same push for both Git for Windows and the regular Git client (from Cygwin) appears below for comparison.
pre-receive hook on server:
Git 2.5.3 from Cygwin distribution (correct output):
Note the hook output emitted in the fourth-from-last line above, "remote: foo".
Git for Windows version 2.7.0.windows.2 64-bit, run on Windows 7 (incorrect output):
Note that the line "remote: foo" is absent in the git-for-windows output.
The text was updated successfully, but these errors were encountered: