X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 763F23858D39 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 21KDbm1s015194 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1645364268; bh=kyeQ4PPJ919OQA6MslvpEPNLFmtldoBnYjoAb6AHvOU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RYJGmxFpyf5Cnf+FUnWviJiKw8BTFewx7DAMwe8kcWWIqgxSvTPn/IFG2jS6BOew7 q/3oDOVqby7QJlVrz93UM/yiZ0yDELeTt2dXSDpV4wknq1SF507Rde1ucg1Ydb9bNQ D1QKiC5FsO6F0tCgQmEqtb3U8Qax6EDIfE6GAoPlOBE47HAufhGTsQuvYZN8ZbpU/w fHA2FSOdyOLvOYzfpk3KeW1UpH1FkAeGI00cS5xojzylgLTC2liAbOZTe0Y1TyrbEk 6w1Bqu125V+zDv2IXEBrkSjMiiCjDux43TRQQdofJ/DsY1FiA9bebcH6n7VybSpNuW W/x82BCc7nQrA== X-Nifty-SrcIP: [119.150.36.16] Date: Sun, 20 Feb 2022 22:37:51 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: Console output hangs in the middle of a line Message-Id: <20220220223751.c3434a059a5b54861f54ff1f@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Orgad Shaneh Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Sun, 20 Feb 2022 13:43:33 +0200 Orgad Shaneh wrote: > mkdir -p chunked > cd chunked > git init > mkdir -p abc/def/ghi/jkl def > cd abc/def/ghi/jkl > touch foo > git add foo > seq 1 1000 | xargs touch > cd ../../../../def > seq 1 10000 | xargs touch > cd .. > git clean -dfx Thanks for the test case. However, I cannot reproduce your problem. $ uname -a CYGWIN_NT-10.0 Express5800-S70 3.3.4(0.341/5/3) 2022-01-31 19:35 x86_64 Cygwin $ git --version git version 2.35.1 I have made a shell script such as: #!/bin/sh mkdir -p chunked cd chunked git init mkdir -p abc/def/ghi/jkl def cd abc/def/ghi/jkl touch foo git add foo seq 1 1000 | xargs touch cd ../../../../def seq 1 10000 | xargs touch cd .. time git clean -dfx and resut is as follows. Removing abc/def/ghi/jkl/1 Removing abc/def/ghi/jkl/10 Removing abc/def/ghi/jkl/100 Removing abc/def/ghi/jkl/1000 Removing abc/def/ghi/jkl/101 Removing abc/def/ghi/jkl/102 Removing abc/def/ghi/jkl/103 Removing abc/def/ghi/jkl/104 Removing abc/def/ghi/jkl/105 Removing abc/def/ghi/jkl/106 Removing abc/def/ghi/jkl/107 Removing abc/def/ghi/jkl/108 [...] Removing abc/def/ghi/jkl/995 Removing abc/def/ghi/jkl/996 Removing abc/def/ghi/jkl/997 Removing abc/def/ghi/jkl/998 Removing abc/def/ghi/jkl/999 Removing def/ real 0m3.307s user 0m0.296s sys 0m2.983s How long does the test case hang? In my environment, from the line Removing abc/def/ghi/jkl/1 to the line Removing abc/def/ghi/jkl/999 takes less than 1 second, and the line Removing def/ takes the rest of the time. -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple