We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c07aabc commit 5a1fdd6Copy full SHA for 5a1fdd6
code/logic/noshell.c
@@ -346,7 +346,10 @@ fossil_bluecrab_noshell_error_t fossil_bluecrab_noshell_find(
346
347
char line[1024];
348
while (fgets(line, sizeof(line), fp)) {
349
- // Skip non-FSON lines (must start with '{' or '[' after whitespace)
+ // Skip header lines
350
+ if (line[0] == '#')
351
+ continue;
352
+ // Only consider FSON-formatted lines (start with '{' or '[' after whitespace)
353
char *p = line;
354
while (isspace((unsigned char)*p)) p++;
355
if (*p != '{' && *p != '[')
0 commit comments