[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-line commit messages from command-line
From: |
Matt Riechers |
Subject: |
Re: multi-line commit messages from command-line |
Date: |
Tue, 06 Nov 2001 15:41:28 -0500 |
"Harig, Mark A." wrote:
>
> Does anyone know if there is a means for submitting a multi-line
> 'commit' message (or 'add' message, etc.) using the '-m' command-line
> option? What I am hoping for is something like:
>
> $ cvs commit -m "line 1 of my message \n line 2 of my message \n etc"
> my_file.c
>
> Ideally, this would produce a message in the CVS log file in the
> following format:
>
> line 1 of my message
> line 2 of my message
> etc
If you trim the space after each newline you should get what you want. Have you
seen different results?
-Matt