Git CVS Import Questions

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

 



I have a question about git cvs's import.

I have the following setup in ~/.bashrc:

export CVS_RSH=ssh
export CVSROOT=cvs:/cvs
export CVS_RSH CVSROOT

and I can do a cvs import using git by doing something along these lines:

mkdir bar; git cvsimport -v Foo/Bar   which checks out the history of
module Bar into the current directory (in this case bar)

now... if I do this again in another directory

mkdir bar2; git cvsimport -v Foo/Bar  which repeats the same process
the hashes don't match up.

case in point:
git log --oneline | head -n 1
2fa5b70 ChangeLog:     * Fixing build file syntax error.
git log --oneline | head -n 1
ccef115 ChangeLog:     * Fixing build file syntax error.


Now, correct me if I'm wrong.. but I thought the hashes were generated
based on the content of the diff.  So shouldn't two cvs checkouts
containing the same data
have the same hashes?   ie.  If a git commit is generated based on a
particular diff, then the hash should always be the same, should it
not?

Am I missing something?  I'm just trying to understand the behavior...
-- 
--
Samir Faci
*insert title*
fortune | cowsay -f /usr/share/cows/tux.cow
--
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]