Thread (69 messages) flat view 69 messages, 5 authors, 2020-10-16
STALE2161d

Revision v3 of 4 in this series.

Revisions (4)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 current
  4. v4 [diff vs current]

[PATCH v3 08/10] revision.c: fix whitespace

From: Derrick Stolee via GitGitGadget <hidden>
Date: 2020-06-26 12:30:59
Subsystem: the rest · Maintainer: Linus Torvalds

From: Derrick Stolee <redacted>

Here, four spaces were used instead of tab characters.

Reported-by: Taylor Blau <redacted>
Signed-off-by: Derrick Stolee <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help