summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2020-07-01 13:27:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-07-01 21:17:43 (GMT)
commitdc8e95ba7c7a3b2f2d7cc82a1f66d19e10874218 (patch)
treebd816b473aa741d4da6358b5fb315f41711e4f3b /revision.c
parent2dd4fed92715fddcefc0223b79e51af2798e921e (diff)
downloadgit-dc8e95ba7c7a3b2f2d7cc82a1f66d19e10874218.zip
git-dc8e95ba7c7a3b2f2d7cc82a1f66d19e10874218.tar.gz
git-dc8e95ba7c7a3b2f2d7cc82a1f66d19e10874218.tar.bz2
revision.c: fix whitespace
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>
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/revision.c b/revision.c
index 7339750..ddf09ab 100644
--- a/revision.c
+++ b/revision.c
@@ -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);