Package: git-core
Version: 1:1.5.5-1
Severity: normal

Hi, 

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. 

Nikolaus


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-core depends on:
ii  cpio                   2.9-13            GNU cpio -- a program to manage ar
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.0-1+b1       Multi-protocol file transfer libra
ii  libdigest-sha1-perl    2.11-2            NIST SHA-1 message digest algorith
ii  liberror-perl          0.17-1            Perl module for error/exception ha
ii  libexpat1              1.95.8-4          XML parsing C library - runtime li
ii  perl-modules           5.8.8-12          Core Perl modules
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages git-core recommends:
ii  curl                         7.18.0-1+b1 Get a file from an HTTP, HTTPS or 
ii  less                         418-1       Pager program similar to more
ii  openssh-client [ssh-client]  1:4.7p1-8   secure shell client, an rlogin/rsh
ii  patch                        2.5.9-4     Apply a diff file to an original
ii  rsync                        3.0.2-1     fast remote file copy program (lik

-- no debconf information



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

Reply via email to