From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id D21631F5AE for ; Sat, 24 Apr 2021 04:55:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbhDXEz0 (ORCPT ); Sat, 24 Apr 2021 00:55:26 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:35338 "EHLO mail-ej1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbhDXEzZ (ORCPT ); Sat, 24 Apr 2021 00:55:25 -0400 Received: by mail-ej1-f54.google.com with SMTP id u17so76785175ejk.2 for ; Fri, 23 Apr 2021 21:54:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xTf3GMcGaRUHC0GW4pn6k92L1eOqHILoLqpX9C9OO9w=; b=qSfTp6njo+BRpING0HFgM+qr9EGufzf5nxt5XCp0NMkWua3+6kzvjsiwxkastWLUES vAJ9J6OiW0h/QtshAtYM26Ryu1AK4eGWh34qiRk3lc/xq97x3WCEUCU3ec+nKIY678GZ y4jKU1s19ZjGt4Y8np97YDNHc1wzO8Bv8SLyRjggYQi9FurWacd7arew0JI5sA7mVMCU ZuYm1uXqkmhozCHCULc3FlzarSiNULcOXYLNkSGqjaI5WjR0Wby2HPZ95SJmQPL/RfWq IuxtDd7ZeUewv4OxFTMx8wQ6FNKzSwAK5yYIlhEYZMduj5yUEMs5AX58CUAoUyKLpFnF pWUA== X-Gm-Message-State: AOAM530vOq4hbI5p6CnoQI5K+dyvxbYTWySdduNiymnwIxCAhMKzP1Q8 2Y2Qnlh1vvg9kItbF8Tg1vf9p+0yDoBZ1wLVesc= X-Google-Smtp-Source: ABdhPJx+KojNRMGbyXZfg2K+vkgN2spt9t8Fg/CbZS5QheKToZjHyfNp2DjzaKFl5HmAlFn5r41zLTkFETnUq8kYZEE= X-Received: by 2002:a17:906:6d41:: with SMTP id a1mr7722794ejt.482.1619240087390; Fri, 23 Apr 2021 21:54:47 -0700 (PDT) MIME-Version: 1.0 References: <20210423194230.1388945-1-lukeshu@lukeshu.com> <20210423194230.1388945-25-lukeshu@lukeshu.com> <87v98ca4uf.wl-lukeshu@lukeshu.com> In-Reply-To: <87v98ca4uf.wl-lukeshu@lukeshu.com> From: Eric Sunshine Date: Sat, 24 Apr 2021 00:54:35 -0400 Message-ID: Subject: Re: [PATCH 24/30] subtree: don't let debug and progress output clash To: Luke Shumaker Cc: Git List , Avery Pennarun , Charles Bailey , Danny Lin , "David A . Greene" , David Aguilar , Jakub Suder , James Denholm , Jeff King , Jonathan Nieder , Junio C Hamano , =?UTF-8?B?Tmd1eeG7hW4gVGjDoWkgTmfhu41jIER1eQ==?= , Roger L Strain , Techlive Zheng , Luke Shumaker Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Fri, Apr 23, 2021 at 8:44 PM Luke Shumaker wrote: > On Fri, 23 Apr 2021 15:07:12 -0600, Eric Sunshine wrote: > > Makes perfect sense when output is to a terminal, though might be > > annoying for the person who redirects stderr to a file. Just idly > > wondering if it makes sense to take that case into consideration... > > (but maybe it doesn't matter much when someone is working at debugging > > a problem). > > The '%s\r' isn't really useful when written to a file, so this change > is useful in the file case too. I'll add a comment and update the > commit-message. Ah, right. I didn't pay close enough attention to really notice that the "\r"-terminated line was going to stderr, so ignore that bit in my review comment.