Re: Can I use tmp_packs in the git root.

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

 



Shakthi Prasad GS <shakthi.gs87@xxxxxxxxx> writes:

> Basically I use, "cat tmp_packs*|git-unpack-objects" . Log indicates
> that, objects are unpacked.
>
> Am I doing anything wrong,

If unpack is all you do, then it won't help very much, as Git only
trusts objects that are reachable from refs.  You would need to also
make the tips of histories contained in the temp_packs* known to Git
by pointing at them from somewhere in refs/ hierarchy.

See how scripted version of "git clone" used to do this by studying
how contrib/examples/git-clone.sh uses refs/reference-tmp/ does the
same for handling "--reference=" option.
--
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]