[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reporting a possible bug with the -m'' option
From: |
Martin Neitzel |
Subject: |
Re: reporting a possible bug with the -m'' option |
Date: |
Sat, 31 May 2008 14:51:58 +0200 (CEST) |
> hostname % cvs ci -m'' myfile.m
> hostname % cvs ci -m' ' myfile.m
> I suspect that I have run into a bug: [...]
No, you've just run into a misunderstanding how your shell does
what's called "word formation". In short,
-m' ' will really take ' ' as message argument.
-m'' is equal to -m and myfile.m will be the message
argument, and so, since no file was spec'ed, the entire
directory gets checked in.
You really would have needed to use
-m ''
for an empty log message. I recommend to review your shell's man page
w.r.t. to "quoting" and "word formation", it will probably help you to
get your daily work done better.
Martin Neitzel