On Thu, Apr 17, 2008 at 11:01:56PM +0200, Nikolaus Schulz wrote:
> the -C option makes git-blame look for copied lines from other files. 
> I'm quoting the manpage: 
> 
>    In addition to -M, detect lines copied from other files that were
>    modified in the same commit. This is useful when you reorganize your
>    program and move code around across files. When this option is given
>    twice, the command looks for copies from all other files in the parent
>    for the commit that creates the file in addition.
> 
> Fact is, it can be given up to three times.  
> See this comment in builtin-blame.c: 
> 
>     /*
>      * -C enables copy from removed files;
>      * -C -C enables copy from existing files, but only
>      *       when blaming a new file;
>      * -C -C -C enables copy from existing files for
>      *          everybody
>      */
> 
> Specifying -C three times is the only way to find content that was
> copied from unmodified source files after the file being annotated was
> created.  Works very well, and is precisely the feature I was urgently
> looking for. 

Hi Nikolaus,

can you suggest some wording?, I'm not sure how to describe this
functionality properly.  Here's upstream's documentation source
 
http://git.kernel.org/?p=git/git.git;a=blob;f=Documentation/blame-options.txt;hb=HEAD

Thanks, Gerrit.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to