tech-repository archive

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

Re: Git and ident of binaries



On Fri, Jan 15, 2010 at 10:26:00AM +0000, Thomas Adam wrote:
 > > I'm aware that with whole-tree commits, the straightforward CVS-like
 > > expansion of $Id$ would be the same (except for the filename) in every
 > > file in the tree. However, I don't see why that makes it unnecessary
 > > or vacuous if you have (like NetBSD and every other OS tree does) a
 > > lot of different binary images built mostly from one or two source
 > > files each. If you run 'ident /usr/bin/fsplit' it doesn't much matter,
 > > at least for many purposes, whether the version string associated with
 > > fsplit.c is unique to fsplit.c or tree-wide; it's just the version of
 > 
 > All I am trying to make you realise is that the version of the file
 > doesn't mean *as* much as the content that's in it -- since Git tracks
 > the content, and not the files themselves.  So if you had "functionA"
 > in fileA.c and then moved it to "fileB.c", *that* sort of history is
 > considered a lot more important than what versionX of fileA.c happens
 > to be.

Perhaps, but that's an entirely different (and unrelated) concern.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index