Hi guys,

I thought I'd quickly update MacPorts' port kmymoney4-devel from SVN to GIT, 
but ran into a problem after the sources were fetched "successfully" via git!

I used the following to specify the sources to be fetched, where git.branch 
denotes the latest changeset detected in a locally run "git pull":
---
git.url             git://anongit.kde.org/kmymoney
git.branch          6f28b1c9fa3c0684d184d3bfc1d638de933a1f91
---
Is that correct?

Unfortunately my "sudo port configure" failed, because CMakeLists.txt runs git 
commands to determine the branch and this is the error I found in the log file 
(which I could reproduce with a simple call of "git log -1" from the clone 
directory):
---
$ git log -1
error: packfile 
.git/objects/pack/pack-706f45c220a99af84f98f872ac0d14cbc86e08c6.pack does not 
match index
error: packfile 
.git/objects/pack/pack-706f45c220a99af84f98f872ac0d14cbc86e08c6.pack cannot be 
accessed
error: packfile 
.git/objects/pack/pack-706f45c220a99af84f98f872ac0d14cbc86e08c6.pack does not 
match index
error: packfile 
.git/objects/pack/pack-706f45c220a99af84f98f872ac0d14cbc86e08c6.pack cannot be 
accessed
fatal: bad object HEAD
---


Well, and when I try a "git pull" in that same directory I get another strange 
error:
---
$ git pull
error: bad index file sha1 signature
fatal: index file corrupt
error: bad index file sha1 signature
fatal: index file corrupt
---
There we are. Obviously my local clone isn't a proper local clone… :-(



OK, I am fairly familiar with CVS, SVN and Mercurial, but my git experience is 
still very limited. :-(

So, I hope that someone of you guys has an idea what I am doing wrong here and 
is able to enlighten me… :-)


Greets,
Marko
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to