Differences From Artifact [e4e4e2eb8f]:
- File src/descendants.c — part of check-in [18a97b3a8f] at 2014-07-20 02:35:02 on branch experimental — Add -comfmtflags command line option to set the comment printing flags, defaulting to the legacy comment printing algorithm. (user: mistachkin size: 15695) [more...]
To Artifact [b14705f2dc]:
- File src/descendants.c — part of check-in [0d0b80fd1c] at 2014-07-23 21:37:50 on branch trunk — When available, pass the original comment text as well as the (possibly prefixed) comment into comment_print(). Add COMMENT_PRINT_ORIG_BREAK flag to the new comment printing algorithm. Change the width argument for the test-comment-format command into an option. Add --origbreak option to the test-comment-format command. (user: mistachkin size: 15701)
| ︙ | ︙ | |||
405 406 407 408 409 410 411 |
fossil_free(zLastBr);
zLastBr = fossil_strdup(zBr);
}
n++;
sqlite3_snprintf(sizeof(zLineNo), zLineNo, "(%d)", n);
fossil_print("%6s ", zLineNo);
z = mprintf("%s [%S] %s", zDate, zId, zCom);
| | | 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 |
fossil_free(zLastBr);
zLastBr = fossil_strdup(zBr);
}
n++;
sqlite3_snprintf(sizeof(zLineNo), zLineNo, "(%d)", n);
fossil_print("%6s ", zLineNo);
z = mprintf("%s [%S] %s", zDate, zId, zCom);
comment_print(z, zCom, 7, width, g.comFmtFlags);
fossil_free(z);
}
fossil_free(zLastBr);
db_finalize(&q);
}
/*
|
| ︙ | ︙ |