Re: checking sha1's of files

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

 



> So if I understand you correctly, you would use the former when
> generating your manifests from a revision, and the latter when verifying
> the contents of the filesystem against those manifests.


that sounds about right actually. except there won't be manifests e.g.
I may actually run

find . -name Manifest -exec rm '{}' +

from the root of the tree. (depends on whether I can get rid of
manifesting distfiles, but they don't change so often, so aren't
really a problem).

>  $ git hash-object --stdin < Makefile
>  27b9569746179e68c635bdaab8e57395f63faf01

is there anyway built in way to do that and check to see if the hash
matches HEAD? (before I go and write a string comparison so that it
does)
-- 
Caleb Cushing

http://xenoterracide.blogspot.com
--
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]

  Powered by Linux