From: Bryan Larsen <bryan.larsen@gmail.com>
To: git@vger.kernel.org
Subject: using git without blobs in the object database
Date: Thu, 07 Jul 2005 08:10:37 -0400 [thread overview]
Message-ID: <42CD1BBD.8070306@gmail.com> (raw)
Use Case: A large set of large binary files, geographically
distributed. Each location has some unique files, some identical files
and some slightly modified files.
I want to use git to tell me what changed and when. But I cannot afford
to have it store the blobs in the object database, nor do I need to;
knowing the signature of previous objects is good enough.
It seems to me that most operations should work without these objects,
and that some people do so. For instance, git-update-cache has a
--cacheinfo option that facilitates this operation.
But not all commands work so well. For instance, git-write-tree will
fail if --cacheinfo was used to add a file. This failure is caused by a
call to check_valid_sha1(). It appears that this check is not strictly
necessary, just very useful for normal operation.
Would a patch that added a flag "--disable-sha1-check" to git-write-tree
be accepted? I hope that's all I need to add, but I haven't completed
my evaluation yet.
thanks,
Bryan
reply other threads:[~2005-07-07 12:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=42CD1BBD.8070306@gmail.com \
--to=bryan.larsen@gmail.com \
--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).