-
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
Perl: Git.pm cannot have two pipes open simultaneously #1603
Comments
Replace the legacy TIEHANDLE used to fake out a pipe and replace it with real pipes. As modern Perl seems to handle these simple pipes well, the need for a special-case object has evaporated. As a consequence of this change, input pipes are now supported. Closes: git-for-windows#1603 Signed-off-by: Chris Lindee <[email protected]>
Replace the legacy TIEHANDLE used to fake out a pipe and replace it with real pipes. As modern Perl seems to handle these simple pipes well, the need for a special-case object has evaporated. As a consequence of this change, input pipes are now supported. Closes: git-for-windows#1603 Signed-off-by: Chris Lindee <[email protected]>
I guess this problem is no longer important? |
The bug causes an issue on one of my projects in a very limited setting and I fixed it in pull request #1604 . I'm not sure the deficiency itself is of "great significance or value" (though, I would argue, making a record of it is important). However, with a cheap fix in hand, the cost/benefit ratio seems favorable. |
Sorry that I missed the update to #1604. Please do feel free to ping me when you think I have lost track. Thank you in advance! |
I honestly forgot myself. Thank you for bringing this back to my attention |
Setup
Git for Windows v2.10.2 32-bit
Windows 8.1 64-bit
defaults?
IIRC, mostly the defaults, but I selected to add git.exe (but not the commands themselves) to the PATH.
to the issue you're seeing?
None I can think of
Details
CMD
Minimal, Complete, and Verifiable example
this will help us understand the issue.
To see a full list of config settings (system & global).
It seems the
*Git::ACPIPE
glob gets re-used. So, whencommand
closes the tied object, the data ARRAY reference is deleted. Then, the filehandle returned bycommand_output_pipe
is read, but the data ARRAY reference cannot be accessed, so an error occurs.Thus, it is impossible to run 2 git commands at the same time on Windows.
URL to that repository to help us with testing?
N/A
Run in git-bash
The text was updated successfully, but these errors were encountered: