git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sha1 of the repo excluding history ?
@ 2007-04-12 23:26 Yakov Lerner
  2007-04-12 23:40 ` Shawn O. Pearce
  2007-04-13  0:24 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: Yakov Lerner @ 2007-04-12 23:26 UTC (permalink / raw)
  To: Git Mailing List

    Can I obtain from git the sha1 of the total last state of the
repo excluding history ? This is a state that covers contents and
names of all files and dirs, and x perm of files;
but excludes history, timestamps, ownerhisp, and inode numbers.

That would be approximately like the slow method:
          'find | egrep -v '/\.git(/|$)' | sort | Xcpio -o | sha1sum -'
(imagining Xcpio that does not archive any ownership, timestamps,
and inode numbers). Can I obtain this result immediately from git ?

Yakov

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-13  0:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-12 23:26 sha1 of the repo excluding history ? Yakov Lerner
2007-04-12 23:40 ` Shawn O. Pearce
2007-04-13  0:24 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).