summaryrefslogtreecommitdiff
path: root/doc/bugs/windows_port_-_git_annex_add_hangs_when_adding_17_files_at_once_or_more_.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-14 17:35:45 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-14 17:35:45 -0400
commit7d41fb6b1844ccef6df8fc3175556b74f98097f8 (patch)
tree9e78829b19d656bceddf39bcb8ac595f805ca2b4 /doc/bugs/windows_port_-_git_annex_add_hangs_when_adding_17_files_at_once_or_more_.mdwn
parent4f2d339fd7ce16b974702ee1179143cf449bc89c (diff)
Windows: Fix hang when adding several files at once.
Diffstat (limited to 'doc/bugs/windows_port_-_git_annex_add_hangs_when_adding_17_files_at_once_or_more_.mdwn')
-rw-r--r--doc/bugs/windows_port_-_git_annex_add_hangs_when_adding_17_files_at_once_or_more_.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/bugs/windows_port_-_git_annex_add_hangs_when_adding_17_files_at_once_or_more_.mdwn b/doc/bugs/windows_port_-_git_annex_add_hangs_when_adding_17_files_at_once_or_more_.mdwn
index 04d3449c0..50f020b19 100644
--- a/doc/bugs/windows_port_-_git_annex_add_hangs_when_adding_17_files_at_once_or_more_.mdwn
+++ b/doc/bugs/windows_port_-_git_annex_add_hangs_when_adding_17_files_at_once_or_more_.mdwn
@@ -180,3 +180,18 @@ info"]
# End of transcript or log.
"""]]
+
+> Reproduced this, and git update-index was in fact not hanging.
+> Instead, after that was done, it tried to stop the git hash-object
+> process, and this hung.
+>
+> It seems that the use of runInteractiveProcess is at fault somehow,
+> and I guess it must be due to it opening a pipe for stderr, which
+> I don't need or want. Perhaps I need to ensure I read from that pipe,
+> or windows keeps the process from terminating. (Unix would just toss the piped
+> data away.)
+>
+> That was the only place runInteractiveProcess was used, so I replaced
+> it with an alternative that lets stderr be inherited. With this change,
+> I have successfully added 1000 files to the annex in one go, with no
+> hang. Provisionally [[done]]. --[[Joey]]