1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

add a diff line so you can check your commit before hitting enter...

This commit is contained in:
John-Mark Gurney 2006-05-08 06:47:59 +00:00
parent 74c9ea0c37
commit 026526f6d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158356

View File

@ -22,9 +22,12 @@ BEGIN {
if (!(match($2, "\\+[0-9]") && match($3, "-[0-9]")))
next
printf("cvs -d %s update %s -j 1.%d -j 1.%d %s\n", CVSROOT, UPDATEOPTS, $1 - 1, $1, $4)
files = files " " $4
files[$4] = 1
}
END {
printf("cvs -d %s commit %s\n", CVSROOT, files);
for (i in files)
fl = fl " " i
printf("cvs -d %s diff -kk %s | less\n", CVSROOT, fl);
printf("cvs -d %s commit %s\n", CVSROOT, fl);
}