Message ID | 20181110054910.10568-1-pclouds@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <git-owner@kernel.org> 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 71BC6109C for <patchwork-git@patchwork.kernel.org>; Sat, 10 Nov 2018 05:49:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 614C42E6C3 for <patchwork-git@patchwork.kernel.org>; Sat, 10 Nov 2018 05:49:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55C7F2E6D5; Sat, 10 Nov 2018 05:49:25 +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 CA8632E6C3 for <patchwork-git@patchwork.kernel.org>; Sat, 10 Nov 2018 05:49:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728791AbeKJPdI (ORCPT <rfc822;patchwork-git@patchwork.kernel.org>); Sat, 10 Nov 2018 10:33:08 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42246 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728659AbeKJPdI (ORCPT <rfc822;git@vger.kernel.org>); Sat, 10 Nov 2018 10:33:08 -0500 Received: by mail-lj1-f193.google.com with SMTP id f3-v6so3366774ljk.9 for <git@vger.kernel.org>; Fri, 09 Nov 2018 21:49:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4/7AG38zNWiVEX5tKBkszRR9439H7VqFEUDgHsdMQ2c=; b=bfZjz5BIsQcEm+gT/l1qUJVD8Ye31c7YxOxv4w9bH4JJNCslOfVj8ELJOGa2WzTxEU v3LItSD1f/KsoSoC2sbjVfAokEQJVmHInnj+G1l1iqAae+EgJ1y/boUYCPR4L5+dkWDc bl2CeZ2IqRKQ1Dwt7YSnAZbyfDoVKey8FHRtgV7Xh8190PwMfBQ9QQ30QDRf1p5JSScv ovTIuLjwnNU35h5M/1guguP3DbNeiY5okKwj4oqnUE41zur5jTCVHnQe0pR6+ktnmbOB k9ZWaqh+ljoTk8ZPwt/vo9sbknugHDJB3MRBi/IAGAX02E7xFBdemRQ6yAs0r4MkR05e Jpug== 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:mime-version :content-transfer-encoding; bh=4/7AG38zNWiVEX5tKBkszRR9439H7VqFEUDgHsdMQ2c=; b=lDU0r/6QUQqNbxzROeqxZVk+X0Y8lb6J1FvOV5YiPxcLVKoZh9FBF6v1nixuyRlijI 3ZQi1cETmDLlmc4r6/4lfLsREnTD1nJNl+taAYa+0+YHDxN0DAss2gRebgzj8NSjEyPn OBwJNkkfOQzxHc/LEYI6fC/OkrBxky46rgzlw9N8yrDGI5nJ4tWbK5EWKFu2d+QuO6Lk 8kkULzwOvVCWsVf2IqEGdu7fygfupoU6JdHnGCo1NvQVQX2SE4Uq0REsH5pY8lmbkfN9 +EiuRpnl8vTwbpqcaszuxCz3rkePsp+lpWFAgBwimxGamqkvNWLYMkXFbg9oUBFiMK2h hN/A== X-Gm-Message-State: AGRZ1gK7sTbbAekhyoT7+0/a6CyqYENckBKan3/CAdQOFtPod8XNe+1o 18IchV3UBVSwJ86xolR80gZQ9LHH X-Google-Smtp-Source: AJdET5cpnwbO/g/WGDVC4vfPrIwD2ey/hnbB1w+ax2XvZAkVSppl9FS9YkS3xe+skfQiRrwhsU3jHQ== X-Received: by 2002:a2e:85d3:: with SMTP id h19-v6mr6978945ljj.82.1541828959953; Fri, 09 Nov 2018 21:49:19 -0800 (PST) Received: from localhost.localdomain (c80-216-12-205.bredband.comhem.se. [80.216.12.205]) by smtp.gmail.com with ESMTPSA id h3sm144445lfj.25.2018.11.09.21.49.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Nov 2018 21:49:19 -0800 (PST) From: =?utf-8?b?Tmd1eeG7hW4gVGjDoWkgTmfhu41jIER1eQ==?= <pclouds@gmail.com> To: git@vger.kernel.org Cc: =?utf-8?b?Tmd1eeG7hW4gVGjDoWkgTmfhu41jIER1eQ==?= <pclouds@gmail.com> Subject: [PATCH v2 00/22] Kill the_index part 5 Date: Sat, 10 Nov 2018 06:48:48 +0100 Message-Id: <20181110054910.10568-1-pclouds@gmail.com> X-Mailer: git-send-email 2.19.1.1231.g84aef82467 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: <git.vger.kernel.org> X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Kill the_index part 5
|
expand
|
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes: > I did start pushing the_repository out of library code [1] in the bottom > half of this series. There aren't big surprises except that cache-tree > API now take _both_ struct repository and struct index_state. The > reason is cache-tree can work on temporary indexes and repo->index is > about $GIT_DIR/index. Yes, this is very sensible, and I expect many more functions would (and probably should) follow suit, as we'd want to be able to work with temporary index (not in the sense that we'll write out on-disk temporary index, but multiple in-core instances of istate that is not necessarily tied to the current or the next state of $GIT_DIR/index) from more places.