From: "McMullan, Jason" <jason.mcmullan@timesys.com>
To: "Daniel Barkalow" <barkalow@iabervon.org>
Cc: "Junio C Hamano" <junkio@cox.net>,
"Linus Torvalds" <torvalds@osdl.org>,
"GIT Mailling list" <git@vger.kernel.org>
Subject: Database consistency after a successful pull
Date: Mon, 06 Jun 2005 09:50:49 -0400
Date: Mon, 6 Jun 2005 09:43:50 -0400 [thread overview]
Message-ID: <1118065849.8970.37.camel@jmcmullan.timesys> (raw)
In-Reply-To: <Pine.LNX.4.21.0506051523280.30848-100000@iabervon.org>
[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]
Subject Was: [PATCH] pull: gracefu[PAlly recover from delta retrieval
failure.]
[snip lots of really good information about the thinking
behind the design of the pull mechanisms ]
Ok, so would I be correct in the following assumptions
about the validity of a 'consistent' .git/objects database:
============================================================
Commits:
* May have the tree they refer to in the database
* Must have their parents in the database
Trees:
* Must have the blobs they refer to in the database
* Must have the trees they refer to in the database
Deltas:
* Must have the referred to object in the database
Blobs:
* No references to check
============================================================
In short, the database would contain:
* The entire commit history
* Selected commits would have the entire tree available
Correct, or totally mistaken? If mistaken, what are the consitency
rules?
[Oh, and does PGP signing my messages bug anybody? If so, I can stop
doing that on this list]
--
Jason McMullan <jason.mcmullan@timesys.com>
TimeSys Corporation
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-06-06 13:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-05 6:11 [PATCH] pull: gracefully recover from delta retrieval failure Junio C Hamano
2005-06-05 16:38 ` Jason McMullan
2005-06-05 17:24 ` Daniel Barkalow
2005-06-05 17:46 ` Junio C Hamano
2005-06-05 20:02 ` Daniel Barkalow
2005-06-06 13:50 ` McMullan, Jason [this message]
2005-06-06 16:21 ` Database consistency after a successful pull Daniel Barkalow
2005-06-06 18:30 ` McMullan, Jason
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=1118065849.8970.37.camel@jmcmullan.timesys \
--to=jason.mcmullan@timesys.com \
--cc=barkalow@iabervon.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=torvalds@osdl.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).