On Sun, 19 Oct, Stefan Bellon wrote:
> If not introducing a new flag but re-using the verbose flag, then the
> patch would be almost trivial and look like this:
>
> --- src/timeline.c
> +++ src/timeline.c
> @@ -1602,11 +1602,15 @@
> }
> if( fossil_strcmp(zCurrentUuid,zId)==0 ){
> sqlite3_snprintf(sizeof(zPrefix)-n, &zPrefix[n], "*CURRENT* ");
> n += strlen(zPrefix);
> }
> - zFree = mprintf("[%S] %s%s", zId, zPrefix, zCom);
> + if (verboseFlag){
> + zFree = mprintf("[%s] %s%s", zId, zPrefix, zCom);
> + }else{
> + zFree = mprintf("[%S] %s%s", zId, zPrefix, zCom);
> + }
> /* record another X lines */
> nLine += comment_print(zFree, zCom, 9, width, g.comFmtFlags);
> fossil_free(zFree);
>
> if(verboseFlag){
>
>
*bump*
Does anybody of the fossil maintainers have any comment regarding this?
I'd very much like to see a %s (i.e. full UUID output) in the timeline
in addition to the shortened %S format. I'd be fine with using
-v/-verbose for that, but I wouldn't mind another option.
Comments?
Greetings,
Stefan
--
Stefan Bellon
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users