Re: Re: git log -M -- filename is not working?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- May 7, 2010, 20:25 UTC
- Message-ID
- <vpqfx23wjb4.fsf@bauges.imag.fr>
- In-Reply-To
- <19428.24021.324557.517627@winooski.ccs.neu.edu>
Eli Barzilay <eli@barzilay.org> writes:
Show 15 quoted lines
> On May 7, Eugene Sajine wrote: >> On Fri, May 7, 2010 at 2:10 PM, Jacob Helwig <jacob.helwig@gmail.com> wrote: >> > You want the --follow flag, too. >> >> Thanks! I missed this guy. By the way it seems that --follow flag >> works without -M or -C. >> >> Are those deprecated or I'm missing the difference between three of >> them?? > > BTW, I've had at least 4 people now who got confused by this. Is > there any use for -M/-C without --follow? In any case, it will be > very helpful if the -M/-C descriptions said "see also --follow". > > Also, is there a way to set this as the default for `git log'?
I guess -M and -C are here because log accepts all options that diff accepts, in case you run "git log -p". Then, -M and -C control what diff is displayed to the user.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/