From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 129261F5AE for ; Fri, 26 Jun 2020 12:31:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728544AbgFZMa6 (ORCPT ); Fri, 26 Jun 2020 08:30:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728512AbgFZMar (ORCPT ); Fri, 26 Jun 2020 08:30:47 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01B4CC08C5DF for ; Fri, 26 Jun 2020 05:30:47 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id s10so9299998wrw.12 for ; Fri, 26 Jun 2020 05:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:in-reply-to:references:from:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=c/zMv9Pl8Px8pPuhdc4kPadMp54xcVAZZhck8gDDyHc=; b=qRjn70T4FPrYq+RU2VrowUpgEtN3tjEVgwTEeH6CrRIkXpG4tgidYjg3HT76K+MUcp PUaXQWM4vkEyHliuVzVqFqgM7zkQps/EqmPVXpZJcopUIzi14NWJC4oMF045v+zbeFbv lTB4JmBQy+JHVPEzqIJ9W+8/bPfN0gtw5cMu/UeACcqheeoUs1hKr5EshYxOoIabXqEy 3j5+T6YHoz6xZ/cK3MKYDGhZzpgG3GpvRTL+0GJZSQKuthJObD6tcCHYduRpg8N62GBO ogTXz39x39Rn01et/Xu8zdILrLlLI0Hbt9/s5ylth6VJJ8Bhbd+3sEcxc1j5IP6O9pfF UeSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=c/zMv9Pl8Px8pPuhdc4kPadMp54xcVAZZhck8gDDyHc=; b=DYUDhMdtnG55Nx1e7ZtoZHQMbSHmRpjBS1oz8rRF4nCwnnRgya3g9/2Og2jSC9ujcx +/m5uh0s5Igmq63iVQzmodV9N8DxhEMRs1hLM1OKHa9MsJC23q7Cs+XnCzebBHQNbVBW PGvZxyCpRapKlUPzGIZihE4fs/20lXJxUa5zXd6odbGKLaxznM1E/7ji+5MsY0vQt7zC aAUT91ZgwW3DerlEu5Ff7LlbLGv03yCcLbQLjlcw1wketI+up7ub6mDehQN+zbikwa+H KYrOBb9DsqrjmxbJxu5HMLQc01qhVC1d/ebu5r39daiKvXk+e21ih9+me4nQCn9nFlJF /RLQ== X-Gm-Message-State: AOAM5337237mGncGQkCmsRGTITxzv64TYMs7pEQEZOs2vRdVV/qycdMQ 8ZbvyTvq1f6neXIVMgAe8WlXTtLV X-Google-Smtp-Source: ABdhPJyPkbREoFIGxhI6wUfuQkcmqe/LjnDi3y3b+kyWS6wxZnfsaOj1Urlzdd8dwln82ja5lZJLMQ== X-Received: by 2002:adf:fa8f:: with SMTP id h15mr3532783wrr.211.1593174645693; Fri, 26 Jun 2020 05:30:45 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id x14sm36529231wrt.60.2020.06.26.05.30.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 05:30:45 -0700 (PDT) Message-Id: <8b6370614124dba15902db43dd1db496ecc62612.1593174637.git.gitgitgadget@gmail.com> In-Reply-To: References: From: "Derrick Stolee via GitGitGadget" Date: Fri, 26 Jun 2020 12:30:34 +0000 Subject: [PATCH v3 08/10] revision.c: fix whitespace Fcc: Sent Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 To: git@vger.kernel.org Cc: me@ttaylorr.com, szeder.dev@gmail.com, l.s.r@web.de, Derrick Stolee , Derrick Stolee Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Derrick Stolee Here, four spaces were used instead of tab characters. Reported-by: Taylor Blau Signed-off-by: Derrick Stolee --- revision.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/revision.c b/revision.c index c644c66091..ed59084f50 100644 --- a/revision.c +++ b/revision.c @@ -697,11 +697,11 @@ static void prepare_to_use_bloom_filter(struct rev_info *revs) /* remove single trailing slash from path, if needed */ if (pi->match[last_index] == '/') { - path_alloc = xstrdup(pi->match); - path_alloc[last_index] = '\0'; - path = path_alloc; + path_alloc = xstrdup(pi->match); + path_alloc[last_index] = '\0'; + path = path_alloc; } else - path = pi->match; + path = pi->match; len = strlen(path); -- gitgitgadget