From patchwork Sat Sep 22 18:05:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Duy Nguyen X-Patchwork-Id: 10611507 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 97BCF174F for ; Sat, 22 Sep 2018 18:05:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AE012AB60 for ; Sat, 22 Sep 2018 18:05:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DAFA2B419; Sat, 22 Sep 2018 18:05:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11DA22B40D for ; Sat, 22 Sep 2018 18:05:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728283AbeIVX7m (ORCPT ); Sat, 22 Sep 2018 19:59:42 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:43441 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728204AbeIVX7l (ORCPT ); Sat, 22 Sep 2018 19:59:41 -0400 Received: by mail-lf1-f67.google.com with SMTP id x24-v6so13555259lfe.10 for ; Sat, 22 Sep 2018 11:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d59So+eBWTcbAONxe5018uXEyh1PvvkEpfrgUYei2Vw=; b=HnvubHpf3sb/3QlIuODEKP4o6i+Aj3S08pCt3f3dBirMdzl8GrMqWA0efD8OhoTUES QVAnEJBf2xY+m5VzgmKfhqYNLvXrgA4CTAIq+VRL87oqmyFILrjrUZBj7YLwNP5PpYTb 4G9wHbCYOsh7qYYhXeIJHcjQ+ScOBCGzLZ8ywfTEKhRBMCnq4qViblTDxgshsj77Cygx Uj9JsxogLVirXyQz8v9eHCD1yj+2Jcj95M7O9Zet6huJHtDzCYM12nMcaunhhlWLBL63 lEcre9iAR1K60vzB9Ain7DROfJWyzxraaITX7k22Cq2GyfUXw2GCY7a8A3z3L50rCtyp bd1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d59So+eBWTcbAONxe5018uXEyh1PvvkEpfrgUYei2Vw=; b=IALM1P5Z/bn8gFZeePNAdaD3bOdUNnvP+8gvJIa54DVzCw2K8sPdPMv0D0y9CVlAL3 tAZYS35y0xTfKoN2P3ONgRkYSiM11tlf+BTK0SdJG1QnmMg0ezFwmEzAs63fcGUvVXDq sGNoLMln5DJSYhmkMtSnbSzFxplSwL6HU3SOsOLrLJF1Ti5jfhb3LtlNk7Y/q4Kv+yjk cBU6pD2/orxc/T+X7rVMhtdqOI3TcPQR+sQj+hoQZ1300ag1mPo+3SKNefMmfCCFpLoc wZLZ7s3+7lHKsEvbx/ea8qupwyP64N5+WQl1W1g1nXB5pjETKblvmjXQbZDiyq8aZnfZ 6gew== X-Gm-Message-State: APzg51DAtXkZwXtfpD66D4iqQeZ/671wOzCbvIjferrhbu82pr1eF9GK 4okU4D1/C31NXgLn55F4wbe6Awfz X-Google-Smtp-Source: ANB0VdaDFlY8Q8YVq9lTA0I/K2UpbHzMDCgYun6+CI8gq9ZMH4P6JwI9ly3m7bLBMjQQi9GVUX41ig== X-Received: by 2002:a19:14d4:: with SMTP id 81-v6mr1905946lfu.26.1537639514677; Sat, 22 Sep 2018 11:05:14 -0700 (PDT) Received: from localhost.localdomain (c80-216-12-205.bredband.comhem.se. [80.216.12.205]) by smtp.gmail.com with ESMTPSA id f4-v6sm2877942lfa.9.2018.09.22.11.05.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Sep 2018 11:05:14 -0700 (PDT) From: =?utf-8?b?Tmd1eeG7hW4gVGjDoWkgTmfhu41jIER1eQ==?= To: git@vger.kernel.org Cc: Elijah Newren , Jeff King , =?utf-8?b?Tmd1eeG7hW4gVGjDoWkgTmfhu41jIER1eQ==?= Subject: [PATCH 8/8] reflog expire: cover reflog from all worktrees Date: Sat, 22 Sep 2018 20:05:00 +0200 Message-Id: <20180922180500.4689-9-pclouds@gmail.com> X-Mailer: git-send-email 2.19.0.647.gb9a6049235 In-Reply-To: <20180922180500.4689-1-pclouds@gmail.com> References: <20180922180500.4689-1-pclouds@gmail.com> MIME-Version: 1.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Reported-by: Jeff King Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/git-reflog.txt | 7 ++++++- builtin/reflog.c | 22 +++++++++++++++++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 472a6808cd..ff487ff77d 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -20,7 +20,7 @@ depending on the subcommand: 'git reflog' ['show'] [log-options] [] 'git reflog expire' [--expire=