@@ -27,7 +27,7 @@ static void print_bloom_filter(struct bloom_filter *filter) {
2727 }
2828 printf ("Filter_Length:%d\n" , (int )filter -> len );
2929 printf ("Filter_Data:" );
30- for (i = 0 ; i < filter -> len ; i ++ ){
30+ for (i = 0 ; i < filter -> len ; i ++ ) {
3131 printf ("%02x|" , filter -> data [i ]);
3232 }
3333 printf ("\n" );
@@ -50,13 +50,13 @@ int cmd__bloom(int argc, const char **argv)
5050 printf ("Murmur3 Hash with seed=0:0x%08x\n" , hashed );
5151 }
5252
53- if (!strcmp (argv [1 ], "generate_filter" )) {
53+ if (!strcmp (argv [1 ], "generate_filter" )) {
5454 struct bloom_filter filter ;
5555 int i = 2 ;
5656 filter .len = (settings .bits_per_entry + BITS_PER_WORD - 1 ) / BITS_PER_WORD ;
5757 filter .data = xcalloc (filter .len , sizeof (unsigned char ));
5858
59- if (!argv [2 ]){
59+ if (!argv [2 ]) {
6060 die ("at least one input string expected" );
6161 }
6262
@@ -68,7 +68,7 @@ int cmd__bloom(int argc, const char **argv)
6868 print_bloom_filter (& filter );
6969 }
7070
71- if (!strcmp (argv [1 ], "get_filter_for_commit" )) {
71+ if (!strcmp (argv [1 ], "get_filter_for_commit" )) {
7272 struct object_id oid ;
7373 const char * end ;
7474 if (parse_oid_hex (argv [2 ], & oid , & end ))
@@ -78,4 +78,4 @@ int cmd__bloom(int argc, const char **argv)
7878 }
7979
8080 return 0 ;
81- }
81+ }
0 commit comments