diff options
author | 2017-05-28 16:57:01 +0000 | |
---|---|---|
committer | 2017-05-28 16:57:01 +0000 | |
commit | 0f83abccd6314eb4f00e02cb65d8a5cb8e82e565 (patch) | |
tree | f36f86074a847938951df9b6da79a112dd15e9a5 | |
parent | Limit the nested header chain for IPv6 extensions headers and for (diff) | |
download | wireguard-openbsd-0f83abccd6314eb4f00e02cb65d8a5cb8e82e565.tar.xz wireguard-openbsd-0f83abccd6314eb4f00e02cb65d8a5cb8e82e565.zip |
Bring the opencvs log message template inline with other cvs implementations.
ok stsp@
-rw-r--r-- | usr.bin/cvs/logmsg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/logmsg.c b/usr.bin/cvs/logmsg.c index 7ba9412668b..30c385fe0e0 100644 --- a/usr.bin/cvs/logmsg.c +++ b/usr.bin/cvs/logmsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logmsg.c,v 1.59 2016/10/15 22:20:17 millert Exp $ */ +/* $OpenBSD: logmsg.c,v 1.60 2017/05/28 16:57:01 joris Exp $ */ /* * Copyright (c) 2007 Joris Vink <joris@openbsd.org> * @@ -155,7 +155,7 @@ cvs_logmsg_create(char *dir, struct cvs_flisthead *added, } fprintf(fp, "%s %s\n%s Enter Log. Lines beginning with `%s' are " - "removed automatically\n%s\n", CVS_LOGMSG_PREFIX, CVS_LOGMSG_LINE, + "removed automatically\n%s \n", CVS_LOGMSG_PREFIX, CVS_LOGMSG_LINE, CVS_LOGMSG_PREFIX, CVS_LOGMSG_PREFIX, CVS_LOGMSG_PREFIX); if (cvs_cmdop == CVS_OP_COMMIT) { @@ -166,7 +166,7 @@ cvs_logmsg_create(char *dir, struct cvs_flisthead *added, if (added != NULL && !RB_EMPTY(added)) { fprintf(fp, "%s Added Files:", CVS_LOGMSG_PREFIX); RB_FOREACH(cf, cvs_flisthead, added) - fprintf(fp, "\n%s\t%s", CVS_LOGMSG_PREFIX, + fprintf(fp, "\n%s \t%s ", CVS_LOGMSG_PREFIX, dir != NULL ? basename(cf->file_path) : cf->file_path); fputs("\n", fp); @@ -175,7 +175,7 @@ cvs_logmsg_create(char *dir, struct cvs_flisthead *added, if (removed != NULL && !RB_EMPTY(removed)) { fprintf(fp, "%s Removed Files:", CVS_LOGMSG_PREFIX); RB_FOREACH(cf, cvs_flisthead, removed) - fprintf(fp, "\n%s\t%s", CVS_LOGMSG_PREFIX, + fprintf(fp, "\n%s \t%s ", CVS_LOGMSG_PREFIX, dir != NULL ? basename(cf->file_path) : cf->file_path); fputs("\n", fp); @@ -184,7 +184,7 @@ cvs_logmsg_create(char *dir, struct cvs_flisthead *added, if (modified != NULL && !RB_EMPTY(modified)) { fprintf(fp, "%s Modified Files:", CVS_LOGMSG_PREFIX); RB_FOREACH(cf, cvs_flisthead, modified) - fprintf(fp, "\n%s\t%s", CVS_LOGMSG_PREFIX, + fprintf(fp, "\n%s \t%s ", CVS_LOGMSG_PREFIX, dir != NULL ? basename(cf->file_path) : cf->file_path); fputs("\n", fp); |