From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 137AF2F81 for ; Thu, 22 Apr 2021 10:52:39 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 47269611CD; Thu, 22 Apr 2021 10:52:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619088758; bh=IVKbUhFUDYmbnA0/jhFIZJUnQZpWK3JBpS/Z7mvOg90=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rNny3hPOxdyWjqd2XiMM9IJWsb12T2xDR0QKmoP7qhEiTkvqDVaMU1JKp44y8Z4a5 wWHSXwGyfmKsxgN3YeLSVG3+6Qsj6GaeDdbQJsEO+lBNFsnv4/xz/BvSMF+/7CuopV f2OA8XrXawi4hj8yKmCw0xl/WxXJkRJTOoqG6I5Mkqg93lz3wOoeQa1Oztg40+i/w0 OsCRhssPJvTc2bTpZi2gwpny8Fdicbsfl93d+8iMcYMV4vrUirxYxilcYqNu8w9UyI Y0gDRDghPWrwOKSl4ypvIhFl9onNCNFBOqtcpdNZaqnYxu2MshLFppjgUq/Oibh8jU W0cd6gh2Kz2eg== Date: Thu, 22 Apr 2021 12:52:33 +0200 From: Mauro Carvalho Chehab To: Johannes Berg Cc: Dan Carpenter , James Bottomley , ksummit@lists.linux.dev Subject: Re: [MAINTAINER SUMMIT] Rethinking the acceptance policy for "trivial" patches Message-ID: <20210422125233.4eed09be@coco.lan> In-Reply-To: <68c628ed354ea1ddea81878f0d713d2ce6426126.camel@sipsolutions.net> References: <20210421194702.GH1981@kadam> <20210422113404.09f35a85@coco.lan> <68c628ed354ea1ddea81878f0d713d2ce6426126.camel@sipsolutions.net> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) X-Mailing-List: ksummit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Em Thu, 22 Apr 2021 11:59:38 +0200 Johannes Berg escreveu: > On Thu, 2021-04-22 at 11:34 +0200, Mauro Carvalho Chehab wrote: > > > > Here, I use "wdiff" in order to deal with renames. It has a somewhat > > funny dialect, but it helps a lot reviewing renaming patches. > > This also helps for casual "git show" etc.: > > [core] > pager = /usr/share/git-core/contrib/diff-highlight | less -RFX > > (path may vary, of course) Nice! Yet, at least on Fedora 33, I had to add a small perl script for it to work (modified from https://github.com/git/git/blob/master/contrib/diff-highlight/diff-highlight.perl), as git-core-doc-2.28.0-1.fc33.noarch only contains DiffHighlight.pm. Thanks, Mauro #!/usr/bin/perl BEGIN {push @INC, '/usr/share/doc/git/contrib/diff-highlight/'} use DiffHighlight; # Some scripts may not realize that SIGPIPE is being ignored when launching the # pager--for instance scripts written in Python. $SIG{PIPE} = 'DEFAULT'; DiffHighlight::highlight_stdin(); exit 0;