diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-05-19 16:11:11 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-05-19 16:11:11 +0000 |
commit | 092e2927d461b32463ee7d3bb39f145b003618e3 (patch) | |
tree | ecba87da95c364e09d9e64ae9b482188554e6bb1 /usr.bin | |
parent | fb9bb9b25c048b8a5748cc635916b67efbf879a6 (diff) |
handle -t option locally too; joris ok
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/getlog.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c index d5d42cb1cd5..a7d64026131 100644 --- a/usr.bin/cvs/getlog.c +++ b/usr.bin/cvs/getlog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getlog.c,v 1.25 2005/05/19 15:37:50 xsa Exp $ */ +/* $OpenBSD: getlog.c,v 1.26 2005/05/19 16:11:10 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -241,7 +241,10 @@ cvs_getlog_local(CVSFILE *cf, void *arg) else { cvs_printf("total revisions: %u;\tselected revisions: %u\n", rf->rf_ndelta, nrev); - cvs_printf("description:\n%s", rf->rf_desc); + + if (log_lhonly) + cvs_printf("description:\n%s", rf->rf_desc); + TAILQ_FOREACH(rdp, &(rf->rf_delta), rd_list) { rcsnum_tostr(rdp->rd_num, numbuf, sizeof(numbuf)); cvs_printf(CVS_GETLOG_REVSEP "\nrevision %s\n", numbuf); |