summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2017-05-28 16:57:02 +0000
committerJoris Vink <joris@cvs.openbsd.org>2017-05-28 16:57:02 +0000
commitc6edfd4d40d2e6d02fbd7903dfac19cb8af520ad (patch)
treebca1efc9bdfeb70e7491296f0e6afc1fed6062c8 /usr.bin/cvs
parent13c2a9897e242c4804220cf505c3ea3261f5879f (diff)
Bring the opencvs log message template inline with other cvs implementations.
ok stsp@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/logmsg.c10
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);