Thread (1 message) 1 message, 1 author, 2016-06-15

Re: renaming question

From: David Kastrup <hidden>
Date: 2016-06-15 22:43:29

"Aaron Gray" [off-list ref] writes:
quoted
"Aaron Gray" [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help