Re: renaming question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Aaron Gray" <angray@xxxxxxxx> writes:

>> "Aaron Gray" <angray@xxxxxxxx> writes:
>>>
>>> Would the following do the trick ?
>>>
>>>    git add test.c
>>>    git commit
>>>
>>>    rename test.c test.cpp *
>>>    vi test.cpp
>>>
>>>    git rm test.c
>>>    git add test.cpp
>>>    git commit -M
>>>
>>> Many thanks in advance,
>>
>> There is no such thing as "git commit -M".  git does not keep track
>> of renames.  It generates the rename info on the fly when you ask
>> it for patches, log stats, blame annotations or similar.
>
> Could you elaborate maybe with a rough example for generating
> patches.

Uh, is that a trick question?

git-format-patch -M

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux