]> git.ipfire.org Git - thirdparty/git.git/commitdiff
revision.c: fix whitespace
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 1 Jul 2020 13:27:28 +0000 (13:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jul 2020 21:17:43 +0000 (14:17 -0700)
Here, four spaces were used instead of tab characters.

Reported-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c

index 7339750af12a8f49d505d968292dc039dab3cb0f..ddf09ab0aa94b9643de04735c0a75e03fad35392 100644 (file)
@@ -695,11 +695,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);