Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp684736ybm; Tue, 21 May 2019 01:34:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyH1f+um/kqnBWFUSt/HY/mNYiIeMx/gZpHDDq6o+xyrcWUhzc7LiuNdcnkKd4VeyD5NH6k X-Received: by 2002:a17:902:b581:: with SMTP id a1mr79774792pls.206.1558427682914; Tue, 21 May 2019 01:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558427682; cv=none; d=google.com; s=arc-20160816; b=EDE0SZgNjC32kLQNwlwR4WWIzLmz5h7tdTgnhqeTjp7WjvrDt0elrQo6o+kgNz5GK8 KPzyZys9/8Wx0/9NxR24GVbUsgil1fbnuqLVMDGAxyPCKa1AROPPZmhDE3rquHOb50p2 oZj3TPrYO9ZK8PSJYwyGVbYQIWB/GehNPCHzDDaDDM4GwqzfG9ZbgFvwijvlzfgWLvM2 SlDm3lBXZpqeK3NHkpajSpOOCJWumS1jOiCGq8jZExuxie5fB9cEsfDtmYMEIDLGePTG /4HvEERTp27+VPW835S1Umuh47dnhJmEJx+j1A6tIH2a9vQ++7H3o8tGMmsQe60dEqWg N5dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=I+h1YZrTDmKlD5sMhKmtJB756Lv1rsdZchXT/qjmFr0=; b=n5lccJ6AI9eVx6iRxQwUZJvPdR3OKo9arpZi4HaNvhzKtuqjKI5mlBtfb7p38RPs+s QZhe30HyTZHsjgLGskKbL9MfVoVVGgwHwKIPI9DXB9Wmqoi04Lx33cEXHjTUJaRZLvGC 5JdmLSzBMWr7bDXZMINXmdMTmGSPCTdD+ikEq+SM7abI2DFshVBMr6st+OvuVJV5Srkx nxwJvgGvsrgqwpZY6/alhrlyfA81X6nD7o1Wo8Z3sIO7RlM35Z29EdnfN3VR9PIrGFDN IFe1En8CZe2tfHm79TFRjwbMH8xFAXkOGRF39VLM4l9W+Ix3b84JJeeIxdN6Aa+2ltx5 oo3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WU11g7eo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 132si19140537pgb.210.2019.05.21.01.34.27; Tue, 21 May 2019 01:34:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WU11g7eo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727106AbfEUIcU (ORCPT + 99 others); Tue, 21 May 2019 04:32:20 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:40292 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbfEUIcT (ORCPT ); Tue, 21 May 2019 04:32:19 -0400 Received: by mail-it1-f194.google.com with SMTP id h11so3363434itf.5; Tue, 21 May 2019 01:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=I+h1YZrTDmKlD5sMhKmtJB756Lv1rsdZchXT/qjmFr0=; b=WU11g7eodKvj0jUc/K95u8KduoqHBD0MzyPoeO1NZAAjups6XlRbqUh8Tylz3QwJcL Gb7Tm55QGaJ3oGsFXFImeY6wSjcIVQetOuRlZ5OHqqlsbpI6DJgZpW1Ck7AB9bY5Z/zX kC5/09eJPUrEFYhQCm8TjjUvo65GTV5a/Og5DqcbbKV/R1BFKh/4odHsuIaFtuArr3hu ecOGZweCaSHd4tqr3QFheqN/xjqt9rBxZSuA1Bu9EboQLUvwzkF76K/1ihIPHKH5wZqU BSriLwH9YS2TZ+EntdvKhe04XByKEfs8Yt0XFABQoX8lx2eQ8G6TADcoV48PWPyXn2SM 61zA== 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:content-transfer-encoding; bh=I+h1YZrTDmKlD5sMhKmtJB756Lv1rsdZchXT/qjmFr0=; b=DzndgebdbvWZ+tP9xzL+ElAvL7XpTTzkLimISwtgmX6hoH59kZ2wtmyDbiqrue4IYB 5xlitGiqarTn4jdDPFQwrkpp12MG/mRK/qmDHmr3NmDLjE/RMGyy00UaUgiWvnTbUfka VLQA9GDMxG9lz16TYv8bJb2+6QklU837Z4avWuGQBTppbZMRuCmoKUOKu+8QMrln/53j OB7Z0YxkSEbbDSB5IvpLixlJuogzszw2E3AF2+dRmRUY1tL87bteVAtfaiJ+gTaIIEIV NI9OpcvsbawUIJO08OXgZpf8IfFazuJ0gK0D+VtDTWp7wuiSfucuTNCJ08ao9Ub3Cefx 49Nw== X-Gm-Message-State: APjAAAXf7em3fCUxX32hXvjutemDEPzfS1pk4E2zzsLq0q0VqvSCxvve T1Jvna60zYby34Bab5Qoqlx+Vey7iKCzAllAbyU= X-Received: by 2002:a02:3002:: with SMTP id q2mr12336301jaq.30.1558427538902; Tue, 21 May 2019 01:32:18 -0700 (PDT) MIME-Version: 1.0 References: <87ef4svk1k.fsf@evledraar.gmail.com> In-Reply-To: <87ef4svk1k.fsf@evledraar.gmail.com> From: Duy Nguyen Date: Tue, 21 May 2019 15:31:52 +0700 Message-ID: Subject: Re: [ANNOUNCE] Git v2.22.0-rc1 To: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= Cc: Bryan Turner , Junio C Hamano , Git Users , Linux Kernel , git-packagers@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 21, 2019 at 5:27 AM =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason wrote: > > > On Mon, May 20 2019, Bryan Turner wrote: > > > On Sun, May 19, 2019 at 10:00 AM Junio C Hamano wro= te: > >> > >> * The diff machinery, one of the oldest parts of the system, which > >> long predates the parse-options API, uses fairly long and complex > >> handcrafted option parser. This is being rewritten to use the > >> parse-options API. > > > > It looks like with these changes it's no longer possible to use "-U" > > (or, I'd assume, "--unified") without adding an explicit number for > > context lines. > > > > ... > > I don't know if argument-less -U was ever intended, but I think in light > of what you're saying we should consider it a regression to fix before > 2.22.0 is out. CC-ing Duy who wrote d473e2e0e8 ("diff.c: convert > -U|--unified", 2019-01-27). There should be no behavior change in this series. Period. I'm pretty sure I misread the old opt_arg() code and this is the result. --inter-hunk-context is also affected. I'm working on it. > The bug there is that the old opt_arg() code would be torelant to empty > values. I noticed a similar change the other day with the --abbrev > option, but didn't think it was worth noting. Maybe it's a more general > problem, in both cases we had a blindspot in our tests. Hmm.. this one is different (at least it does not use opt_arg()). But I'll double check. --=20 Duy