From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id 0B58F3858C78 for ; Sun, 20 Feb 2022 13:51:23 +0000 (GMT) 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 Received: by mail-il1-x131.google.com with SMTP id f13so8106811ilq.5 for ; Sun, 20 Feb 2022 05:51:23 -0800 (PST) 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.c3434a059a5b54861f54ff1f@nifty.ne.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 Cc: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" 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@cygwin.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: , X-List-Received-Date: Sun, 20 Feb 2022 13:51:24 -0000 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