From nobody Mon Aug 17 14:20:46 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hNw3h2lFFz6nrxD; Mon, 17 Aug 2026 14:20:48 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hNw3h1RbFz3gW0; Mon, 17 Aug 2026 14:20:48 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786976448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i/dXO7Pd/+ExMF0HyjldmaTaAH2iFgXU2uhw+VLrc84=; b=bxn+BqdevpmjlcT5BaKijJ4nS+dxxzRg+jxfCnhcdRP24MTX+bc5Ard0ufzRHAf6JMt/H0 0YQlyYP08AhRdj/6QK5HjqD6It7eQIZyweIdlF3SmBMFRrN6tCdtstxGGv1CT67GfzNT69 rFodCGs/yPTDd94BC8H4lW/cpIpsgj3iMrpL0hXzcDE/1tEQUbLHL+rBFiXFPXFagRywVs lCYbK3iH/T2170wNliX0DRwHCxegEdPm3qH8Z9yQbyeaZNGCHgRtJaTsNkVFZxQTTX6UHA 3T00jRh4umeeknCUkrXBe8lglTVwNF0LhwNYJ4MEvbptsDv0eoWp0hE2gAfVuQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786976448; a=rsa-sha256; cv=none; b=sGI8vVXjmH5gZLbi0mklfxJhHGNlTplJyHCRhzSlCcXeSzWSAk5Hb3NJwxDuJMmcO0Gje0 cbL0ffyKZ0BR7rKPH34j/KCcXEj7o/b7cVvyG6onXBCBCujbojW6xDzVzx2ny+nJFhSdBd dNM01z0UcStgqZPEq+1smtKgJGnPFwcxjoym4BvufxZ/Hp4ALYNms1/NYvhnJpDIxh5Rd2 nEqt0zTx073JIFux3VPUFABMP2YJCmxhCFJKWLgo4qo4Tb/V0RbR/eK1U1xfK2xosBAtmf CeGT87/mILSfeg1wwfOuKk1tYrT+ktlvHbQw7CEsBxN2meMcvYr2ul82gHJokQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786976448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i/dXO7Pd/+ExMF0HyjldmaTaAH2iFgXU2uhw+VLrc84=; b=HNB0loa9oswR1xzA4PFPdE+5AuFTPB2OX9PWbFj6MDwrQOAIEfvqqX+GKb2dAmRiTM/P11 L9XQb9dJ/wDthwkRkqKXEWN68W00yy/JCzgkLGAE2xA/f9TPOSbMzcqf3lTBgjbAYbPQr3 0Ah8B0E25bTpZOAbBt8eFXIOGJ4uJWQ5ajZUtHTfduW1g31DpNlFYngAd4dTF4fzkKGB7K d8tdCSX+uXf6efVU4H2jLIODOC9ezMiHCIY1Vp+WI6iuEFkVXUtsMOkcSL3C54gPF7jaAA vhK2NLaMWLH66SGyN2aiQ4Iv9Gldjjp3Gf6w1jkW7OZsBy+ySJoGh6EppxbDNA== Received: from [IPV6:2601:5c0:4202:5670:c96d:e4c2:feef:9a90] (unknown [IPv6:2601:5c0:4202:5670:c96d:e4c2:feef:9a90]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 4hNw3g6N9czsqw; Mon, 17 Aug 2026 14:20:47 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <06cfbb80-83ac-4779-917c-277f6790865c@FreeBSD.org> Date: Mon, 17 Aug 2026 10:20:46 -0400 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: a8347f442824 - main - git-arc: Add a diff subcommand Content-Language: en-US To: Devin Teske , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <6a7e2a1e.3a57a.54b10e94@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: <6a7e2a1e.3a57a.54b10e94@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/13/26 16:33, Devin Teske wrote: > The branch main has been updated by dteske: > > URL: https://cgit.FreeBSD.org/src/commit/?id=a8347f44282408fb1a4c0aa611ecdf469bc030a8 > > commit a8347f44282408fb1a4c0aa611ecdf469bc030a8 > Author: Devin Teske > AuthorDate: 2026-08-13 20:31:36 +0000 > Commit: Devin Teske > CommitDate: 2026-08-13 20:31:36 +0000 > > git-arc: Add a diff subcommand > > Show the differences between local commits and their associated > Phabricator reviews, i.e., what "git arc update" would upload. For > each commit, the review's current raw diff is applied to the commit's > parent in a temporary index and the resulting tree is compared against > the commit itself. An empty diff means the commit and the review are > in sync. > > This makes it easy to check whether local amendments have diverged > from the posted review before updating it, or to confirm that a > review is current before landing. > > Reviewed by: markj > Differential Revision: https://reviews.freebsd.org/D58789 Nice! Something I would like is if we could have an indicator in `git arc list` output if a local commit is out of date (that is, something like an extra column that could hold a character like '!' if the commit has a local diff relative to the current review). Not sure how feasible that is to implement though. -- John Baldwin