Message ID | 20180921155739.14407-2-pclouds@gmail.com (mailing list archive) |
---|---|
State | New, archived |
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 529A65A4 for <patchwork-git@patchwork.kernel.org>; Fri, 21 Sep 2018 15:57:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 412662E56D for <patchwork-git@patchwork.kernel.org>; Fri, 21 Sep 2018 15:57:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3332E2E586; Fri, 21 Sep 2018 15:57:54 +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 220BA2E56D for <patchwork-git@patchwork.kernel.org>; Fri, 21 Sep 2018 15:57:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390324AbeIUVrV (ORCPT <rfc822;patchwork-git@patchwork.kernel.org>); Fri, 21 Sep 2018 17:47:21 -0400 Received: from mail-lj1-f179.google.com ([209.85.208.179]:46841 "EHLO mail-lj1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389683AbeIUVrU (ORCPT <rfc822;git@vger.kernel.org>); Fri, 21 Sep 2018 17:47:20 -0400 Received: by mail-lj1-f179.google.com with SMTP id 203-v6so12081030ljj.13 for <git@vger.kernel.org>; Fri, 21 Sep 2018 08:57:50 -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=AGDj1wfbwAhTG+ZJ/1pixX+RIDQWmuJMuwGPKoydYJY=; b=UQyCOBmdSSTDQ7QoL0vsHGS3DMEGfMnv7PuuIIqMfN4xBBtfOKv4lFAxDoIJ+tnID9 OHwvLNuw4mKoq58a8Si/jkqqCQlmUgqtZ2y8lPzONj+9XveGVB5eU3+5xdxylg4Qprrx DpklvLN82YXNDPg5nbFeoSC2v+hwr9bz8wdWIiGLK3DVa94xyxjnnCE/lIJyjFASvn8u RncJfpwupSuyBeCEY3r5zPZmPknPNcp0u/Y67zqxuw6a3T/h11gB//kA7TeBuoLqBDR6 w3BzNyVV1DXQ56xbzVy266MwgoYz73MoBn71zPvffOeq5ZtN/n2lUcfytGKMu6YC5diM izdQ== 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=AGDj1wfbwAhTG+ZJ/1pixX+RIDQWmuJMuwGPKoydYJY=; b=m+2l9Ln3kXtjONDy/4UqciqGO3Pn96ktCt8++QSqYaD/IQclrKaGVocWB8A0T1RQQH xyTbonkxYuNUv7MObh4iGwYMr0RhWJa02e1LkPnl2rebAeyaGbKY0MK5S/EIYYBCtQEN tmBbYuOj6xHmaqlCdUEU3AgmBEbH1RKnuRiJhFO5IPBP0V/WdoGAjcHoJppuZkHZuuMO 6J3nKDh2i0h4+Dwyk9I7rhCt3zfWNkFA9dgSbdmBfMNixm5GCPEByZWTsxkqYlYjgaLJ abZyFSPybIOGBNFhCfpi72O8wPxjq/5RqGc5q31hokOpVETloXELknKlZPN4RTc7UVVB fa3Q== X-Gm-Message-State: ABuFfogYszpCmigPFd5D1DMYdRBSkA18juELThb6AvNrDCWq65Yu97Ws +0lIf2dc+auCa0s4oxeW64M= X-Google-Smtp-Source: ACcGV60I3H81jZc6qFlWyDWD3TGFHqhD84e0eLmKX6C2aZp+2CQ+j4ilbgpTrQFprcj/vR+W+idXFQ== X-Received: by 2002:a2e:429c:: with SMTP id h28-v6mr2318569ljf.67.1537545469406; Fri, 21 Sep 2018 08:57:49 -0700 (PDT) Received: from localhost.localdomain (c80-216-12-205.bredband.comhem.se. [80.216.12.205]) by smtp.gmail.com with ESMTPSA id o19-v6sm2192978lfk.30.2018.09.21.08.57.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 08:57:48 -0700 (PDT) From: =?utf-8?b?Tmd1eeG7hW4gVGjDoWkgTmfhu41jIER1eQ==?= <pclouds@gmail.com> To: pclouds@gmail.com Cc: git@vger.kernel.org, gitster@pobox.com, sbeller@google.com Subject: [PATCH v5 01/23] archive.c: remove implicit dependency the_repository Date: Fri, 21 Sep 2018 17:57:17 +0200 Message-Id: <20180921155739.14407-2-pclouds@gmail.com> X-Mailer: git-send-email 2.19.0.640.gcd3aa10a8a In-Reply-To: <20180921155739.14407-1-pclouds@gmail.com> References: <20180915161759.8272-1-pclouds@gmail.com> <20180921155739.14407-1-pclouds@gmail.com> 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 4
|
expand
|
diff --git a/archive.c b/archive.c index 0a07b140fe..994495af05 100644 --- a/archive.c +++ b/archive.c @@ -391,7 +391,7 @@ static void parse_treeish_arg(const char **argv, if (get_oid(name, &oid)) die("Not a valid object name"); - commit = lookup_commit_reference_gently(the_repository, &oid, 1); + commit = lookup_commit_reference_gently(ar_args->repo, &oid, 1); if (commit) { commit_sha1 = commit->object.oid.hash; archive_time = commit->date;