git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Rename handling
@ 2007-03-19 16:10 John Goerzen
  2007-03-19 18:14 ` Steven Grimm
  2007-03-21  0:21 ` Jakub Narebski
  0 siblings, 2 replies; 31+ messages in thread
From: John Goerzen @ 2007-03-19 16:10 UTC (permalink / raw)
  To: git

Hi,

I've read the FAQ and Linus' philosophy on this topic, and have some
questions still.  I'm considering using Git and its philosophy on
renames is troubling me.

My use for version control presently has most changes being written and
committed by me directly, with occasional patches coming in from random
others.  As such, running something like 'git mv' when a rename occurs
is not a problem.

My main concerns with Git are:

1) git log does not show complete history of files that have been
   renamed or copied.

   If I have foo.txt, and rename it to bar.txt, the liberal use of -M
   can tease out a proper patch from a number of places.  But
   git log bar.txt, with any set of options I can possibly come up with,
   absolutely refuses to show me the history of bar.txt before it was
   renamed to bar.txt.  git log foo.txt also does not show me the old
   history for the file.

2) For me, a rename is a logical change to the source tree that I want
   to be recorded with absolute certainty, not guessed about later.
   Sometimes I may make API changes and it is useful to see how module
   names changed, with complete precision, later.  I do not want to be
   victim to an incorrect guess, which could be possible.

Is there any way to resolve this with Git, or do I basically have to
stick with Mercurial here?

-- John

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2007-03-22  3:54 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19 16:10 Rename handling John Goerzen
2007-03-19 18:14 ` Steven Grimm
2007-03-19 18:35   ` Nicolas Pitre
2007-03-19 18:48     ` Linus Torvalds
2007-03-19 19:57       ` Steven Grimm
2007-03-19 20:19         ` Martin Langhoff
2007-03-20  8:33           ` Junio C Hamano
2007-03-19 20:22         ` Linus Torvalds
2007-03-19 20:02       ` Robin Rosenberg
2007-03-19 20:34         ` Linus Torvalds
2007-03-19 19:36     ` Steven Grimm
2007-03-19 19:45       ` Steven Grimm
2007-03-19 20:07         ` Linus Torvalds
2007-03-19 20:17       ` Nicolas Pitre
2007-03-19 20:44       ` Daniel Barkalow
2007-03-19 19:03   ` Andy Parkins
2007-03-19 19:21     ` Steven Grimm
2007-03-21  0:06       ` Jakub Narebski
2007-03-21  0:25         ` Johannes Schindelin
2007-03-21 22:28           ` Steven Grimm
2007-03-21 23:01             ` Johannes Schindelin
2007-03-21 23:10               ` Linus Torvalds
2007-03-22  0:10             ` Martin Langhoff
2007-03-22  2:01               ` Jakub Narebski
2007-03-22  2:39                 ` Martin Langhoff
2007-03-22  3:32                   ` Jakub Narebski
2007-03-22  3:53                     ` Linus Torvalds
2007-03-19 19:15   ` Daniel Barkalow
2007-03-19 19:49   ` John Goerzen
2007-03-19 22:27     ` Junio C Hamano
2007-03-21  0:21 ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).