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 0B58F3858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=P3/+n/YL6a//sllVS3RmDNi/+LEJ1XTFkLZncuxgAUE=; b=CB4ORBX4tYDJ9pGDA4KgcN0wR1E3UpniUHL4S0fW9n5Z9NmBVsEgwZ3KgSNwDdfy+h jvvXAu2I+KqJxLmn9USgfukMQc8/xtxJ6PbdbsReTzcet4De6EeQer7lzYX6Qa2fr+5M HczDFDa0Wabdy1RPcLD5RaP2qX4Xi/ieaPUhcpMiogBGy8picBbwK6aCjEzBmZnx7TFY b0CCWYD9U1Ntlb9HtCrThX6RijV7C5E0clnCFCDlOCPEnKmS2B/9n5nZdHGb0ROLInln yKs0zFNEGWBYlgfHi3i9fmbomh8+z66Elmqd8+FSLJl4Had1rAXCO5Vj74J+4Pd1ybtq MSfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P3/+n/YL6a//sllVS3RmDNi/+LEJ1XTFkLZncuxgAUE=; b=38nlO1zodx5XQZDsKarLEMdY2mSvGCQraC8bem6kEDo1Z7BzjxpMTeA1O994FTAZF1 unVDFym0GuD2oEJbAw3UlBZR5ZMULehR195GI4ucbYFy0MzI/QXMRfgJ0ixuRiyv1knh QjMkTM4oxMCjnhqsaTitfmr3HOCrA1OEz07E0lx00CYqKIWtNS5DOtvL8EGtMLCfanON QjXh2DB01NQOz7f0OUhKuLEEwoFeRXTJrcmMOOJdM/OWQktgRmGtVhu/oLxKJyvemPHQ yMx0Zg16JotCXJa7bA49Gb9S7ICDzaevdoS3E1yr6oVr2XyeYDhC58bOYi1o9how3xc2 C/XQ== X-Gm-Message-State: AOAM533PzoVO64u766gYfy/a9mMVB7P0GNf7/AgL2GZbXSJDr/hVJfHM xwZQRQjRl5R8e1wCq1JCN4Zo6TNunZHgP+UP9kqVIr7EZc0= X-Google-Smtp-Source: ABdhPJxsNLVKNzhlSbzYoqagbN+wvHguqM8lhnek6b2NPt5lCWZ9YnDU9XbpXgCV2foLKTmBAyc/cxp24Kus8r7CtGI= X-Received: by 2002:a05:6e02:1ca5:b0:2c2:1cb2:26cc with SMTP id x5-20020a056e021ca500b002c21cb226ccmr3607967ill.238.1645365082396; Sun, 20 Feb 2022 05:51:22 -0800 (PST) MIME-Version: 1.0 References: <20220220223751 DOT c3434a059a5b54861f54ff1f AT nifty DOT ne DOT jp> In-Reply-To: <20220220223751.c3434a059a5b54861f54ff1f@nifty.ne.jp> From: Orgad Shaneh Date: Sun, 20 Feb 2022 15:51:11 +0200 Message-ID: Subject: Re: Console output hangs in the middle of a line To: Takashi Yano X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Cc: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hi, On Sun, Feb 20, 2022 at 3:38 PM Takashi Yano wrote: > > 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 Turns out I was using Git for Windows and not the cygwin release. With cygwin git it works as expected. I'll report to git-for-windows then. Thanks, - Orgad -- 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