Skip to content

Commit eb591e4

Browse files
derrickstoleegitster
authored andcommitted
bloom: fix whitespace around tab length
Fix alignment issues that were likely introduced due to an editor using tab lengths of 4 instead of 8. Signed-off-by: Derrick Stolee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1b4c57f commit eb591e4

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

bloom.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ static inline unsigned char get_bitmask(uint32_t pos)
2929
}
3030

3131
static int load_bloom_filter_from_graph(struct commit_graph *g,
32-
struct bloom_filter *filter,
33-
struct commit *c)
32+
struct bloom_filter *filter,
33+
struct commit *c)
3434
{
3535
uint32_t lex_pos, start_index, end_index;
3636

@@ -123,9 +123,9 @@ uint32_t murmur3_seeded(uint32_t seed, const char *data, size_t len)
123123
}
124124

125125
void fill_bloom_key(const char *data,
126-
size_t len,
127-
struct bloom_key *key,
128-
const struct bloom_filter_settings *settings)
126+
size_t len,
127+
struct bloom_key *key,
128+
const struct bloom_filter_settings *settings)
129129
{
130130
int i;
131131
const uint32_t seed0 = 0x293ae76f;
@@ -139,8 +139,8 @@ void fill_bloom_key(const char *data,
139139
}
140140

141141
void add_key_to_filter(const struct bloom_key *key,
142-
struct bloom_filter *filter,
143-
const struct bloom_filter_settings *settings)
142+
struct bloom_filter *filter,
143+
const struct bloom_filter_settings *settings)
144144
{
145145
int i;
146146
uint64_t mod = filter->len * BITS_PER_WORD;
@@ -160,7 +160,7 @@ void init_bloom_filters(void)
160160

161161
struct bloom_filter *get_bloom_filter(struct repository *r,
162162
struct commit *c,
163-
int compute_if_not_present)
163+
int compute_if_not_present)
164164
{
165165
struct bloom_filter *filter;
166166
struct bloom_filter_settings settings = DEFAULT_BLOOM_FILTER_SETTINGS;

bloom.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ void fill_bloom_key(const char *data,
7474
const struct bloom_filter_settings *settings);
7575

7676
void add_key_to_filter(const struct bloom_key *key,
77-
struct bloom_filter *filter,
78-
const struct bloom_filter_settings *settings);
77+
struct bloom_filter *filter,
78+
const struct bloom_filter_settings *settings);
7979

8080
void init_bloom_filters(void);
8181

0 commit comments

Comments
 (0)