From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: git@vger.kernel.org
Subject: integrity of a repository
Date: Sat, 15 Mar 2008 14:26:45 +0100 [thread overview]
Message-ID: <20080315132645.GC17579@ins.uni-bonn.de> (raw)
Hello giters,
I am aware that git provides integrity of a commit (and thus, a branch
head) via its sha, which covers both the tree and its history.
But what about the integrity of a git repository as a whole?
For example, if I have a set of branches, create a file listing
branchname sha-of-head
for each such branch, and hash that file, and also 'git gc --prune',
can I then be sure that not only does the repository contain exactly
what I want (namely all history of all branches), but also that it does
not contain any other material (say, stuff that may not be disclosed)?
Would I need the in file listing all local and remote branches?
What about all heads in .git/*HEAD (such as FETCH_HEAD)?
Thanks,
Ralf
next reply other threads:[~2008-03-15 13:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-15 13:26 Ralf Wildenhues [this message]
2008-03-16 3:54 ` integrity of a repository Junio C Hamano
2008-03-16 6:32 ` Ralf Wildenhues
2008-03-16 7:01 ` Junio C Hamano
2008-03-16 10:09 ` Ralf Wildenhues
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080315132645.GC17579@ins.uni-bonn.de \
--to=ralf.wildenhues@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).