Is git broken?
Git pull from Tony's test tree isn't working. Is my syntax wrong or is there an issue on the kernel.org side?
Thanks,
-----------------------------------------------
attica$ git pull rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6.git test MOTD:
MOTD: Welcome to the Linux Kernel Archive.
MOTD:
MOTD: Due to U.S. Exports Regulations, all cryptographic software on this MOTD: site is subject to the following legal notice: MOTD: MOTD: This site includes publicly available encryption source code MOTD: which, together with object code resulting from the compiling of MOTD: publicly available source code, may be exported from the United MOTD: States under License Exception "TSU" pursuant to 15 C.F.R. Section MOTD: 740.13(e). MOTD: MOTD: This legal notice applies to cryptographic software only. MOTD: Please see the Bureau of Industry and Security, MOTD: http://www.bis.doc.gov/ for more information about current MOTD: U.S. regulations.
MOTD:
MOTD:
MOTD: Welcome to the Linux Kernel Archive.
MOTD:
MOTD: Due to U.S. Exports Regulations, all cryptographic software on this MOTD: site is subject to the following legal notice: MOTD: MOTD: This site includes publicly available encryption source code MOTD: which, together with object code resulting from the compiling of MOTD: publicly available source code, may be exported from the United MOTD: States under License Exception "TSU" pursuant to 15 C.F.R. Section MOTD: 740.13(e). MOTD: MOTD: This legal notice applies to cryptographic software only. MOTD: Please see the Bureau of Industry and Security, MOTD: http://www.bis.doc.gov/ for more information about current MOTD: U.S. regulations.
MOTD:
receiving file list ... done
wrote 113 bytes read 30799 bytes 20608.00 bytes/sec
total size is 82275235 speedup is 2661.60
* committish: 6c141f61ee4f5fba63d9c54e03cb2faa6877bf1a refs/heads/test from rsync://rsync. kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6.git
error: Could not read 9401c705f2a6a7e5df102f6443dba395c3c5e5a8
error: Could not read 357d596bd552ad157a906289ab13ea6ba7e66e3d
Updating from aa2dca4563b0629ecd9d9994dfdf39f29ff1b43f to 6c141f61ee4f5fba63d9c54e03cb2faa6 877bf1a.
fatal: failed to unpack tree object 6c141f61ee4f5fba63d9c54e03cb2faa6877bf1a attica$
Signature · 2 lines
Russ Anderson, OS RAS/Partitioning Project Lead SGI - Silicon Graphics Inc [email protected]
Mea culpa (I think)
I suspect I've missed one of the important steps in maintaining a public repository ... which only matters if someone isn't up to date with my tree when I update the list of packfiles and prune away the objects that are now in the packfiles. When you try to pull using rsync, you can't find the files directly in the objects directory, and because I hadn't made the index, you were stuck.
I've just run git-update-server-info to build the indexes, so wait a few minutes for them to be mirrored and try the pull again.
I'll fix my push script to do this automatically so this doesn't happen again.
-Tony
Quoted 3 lines
I've just run git-update-server-info to build the indexes, so wait a few minutes for them to be mirrored and try the pull again.
If you have a recently pulled "linus" tree, then just copy/link the two latest pack files from .git/objects/pack (they have names that start with "pack-eceba347...") into .git/objects/pack in your local copy of my tree. That will save you pulling a 78MB file down from kernel.org.
It is also possible that GIT is playing up. I'm now using the objects/info/alternates feature on kernel.org that should tell GIT to look for anything it can't find in my tree in Linus' tree.
-Tony