From: "Dana How" <danahow@gmail.com>
To: "Junio C Hamano" <junkio@cox.net>
Cc: git@vger.kernel.org, danahow@gmail.com
Subject: [PATCH 09/13] drop objects larger than --blob-limit if specified
Date: Thu, 5 Apr 2007 15:36:52 -0700 [thread overview]
Message-ID: <56b7f5510704051536s7de9638fs8cd811d580f6a7dc@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 145 bytes --]
---
builtin-pack-objects.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
--
Dana L. How danahow@gmail.com +1 650 804 5991 cell
[-- Attachment #2: 0009-drop-objects-larger-than-blob-limit-if-specified.patch.txt --]
[-- Type: text/plain, Size: 826 bytes --]
From 62532de2a8c19ca8d8bfb2e4bc02bff39bcc7ca8 Mon Sep 17 00:00:00 2001
From: Dana How <how@deathvalley.cswitch.com>
Date: Thu, 5 Apr 2007 14:06:05 -0700
Subject: [PATCH 09/13] drop objects larger than --blob-limit if specified
---
builtin-pack-objects.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index 37b0150..ccc2d15 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -1116,6 +1116,7 @@ static void check_object(struct object_entry *entry)
}
entry->type = sha1_object_info(entry->sha1, &entry->size);
+ nr_skipped += entry->no_write = blob_limit && (unsigned long)entry->size >= blob_limit;
if (entry->type < 0)
die("unable to get type of object %s",
sha1_to_hex(entry->sha1));
--
1.5.1.rc2.18.g9c88-dirty
next reply other threads:[~2007-04-05 22:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-05 22:36 Dana How [this message]
[not found] ` <al pine.LFD.0.98.0704052103410.28181@xanadu.home>
[not found] ` <56b7f5510704051919v7daac590m 6ac52c4fcabd5321@mail.gmail.com>
2007-04-06 1:04 ` [PATCH 09/13] drop objects larger than --blob-limit if specified Nicolas Pitre
2007-04-06 2:19 ` Dana How
2007-04-06 3:20 ` Nicolas Pitre
2007-04-06 15:49 ` Linus Torvalds
[not found] ` <56b7f55 10704061109n2878a221p391b7c3edba89c63@mail.gmail.com>
2007-04-06 18:09 ` Dana How
2007-04-06 19:21 ` Nicolas Pitre
2007-04-06 19:24 ` Linus Torvalds
2007-04-06 22:33 ` Junio C Hamano
2007-04-08 1:53 ` David Lang
2007-04-06 20:12 ` Nicolas Pitre
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=56b7f5510704051536s7de9638fs8cd811d580f6a7dc@mail.gmail.com \
--to=danahow@gmail.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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).