On Thu, Aug 17, 2017 at 10:35:54PM +0200, Torsten Bögershausen wrote:
> On Wed, Aug 16, 2017 at 10:16:12PM +0200, Martin Koegler wrote:
> > From: Martin Koegler
> >
> > This patchset is for next [24db08a6e8fed761d3bace7f2d5997806e20b9f7].
>
> I applied it succesfully
On Mon, Aug 14, 2017 at 10:08:05AM -0700, Junio C Hamano wrote:
>It may help reducing the maintenance if we introduced obj_size_t
>that is defined to be size_t for now, so that we can later swap
>it to ofs_t or some larger type when we know we do need to
>support objects whose size
From: Martin Koegler
Signed-off-by: Martin Koegler
---
block-sha1/sha1.c | 2 +-
block-sha1/sha1.h | 2 +-
ppc/sha1.c| 2 +-
ppc/sha1.h| 2 +-
sha1dc_git.c | 2 +-
sha1dc_git.h | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/block-sha1/sha1.c b
From: Martin Koegler
Signed-off-by: Martin Koegler
---
cache.h | 16 +++
sha1_file.c | 68 ++---
streaming.c | 2 +-
3 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/cache.h b/cache.h
index 5c85844
From: Martin Koegler
Signed-off-by: Martin Koegler
---
cache-tree.c | 6 +++---
cache-tree.h | 2 +-
cache.h | 6 +++---
convert.c | 18 +-
environment.c | 4 ++--
read-cache.c | 18 +-
6 files changed, 27 insertions(+), 27 deletions(-)
diff
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/index-pack.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 7f3ccd0..bf2d728 100644
--- a/builtin/index-pack.c
+++ b/builtin/index
From: Martin Koegler
It changes the signature of the core object access function
including any other functions to assure a clean compile if
sizeof(size_t) != sizeof(unsigned long).
Signed-off-by: Martin Koegler
---
apply.c | 6 +++---
archive-tar.c| 4
From: Martin Koegler
This patchset is for next [24db08a6e8fed761d3bace7f2d5997806e20b9f7].
Its a complete collection of all patches. Some errors were fixed and
it sticks with off_t for length in (pack) files. Object sizes are handled
as size_t.
Martin Koegler (19):
delta: fix enconding size
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/unpack-objects.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/builtin/unpack-objects.c b/builtin/unpack-objects.c
index 001dd4b..0d8b6b3 100644
--- a/builtin/unpack-objects.c
+++ b
From: Martin Koegler
Signed-off-by: Martin Koegler
---
blob.c | 2 +-
blob.h | 2 +-
builtin/fsck.c | 2 +-
commit.c | 2 +-
commit.h | 2 +-
object.c | 2 +-
object.h | 2 +-
pack-check.c | 2 +-
pack.h | 2 +-
tag.c | 4 ++--
tag.h
From: Martin Koegler
Signed-off-by: Martin Koegler
---
archive-tar.c | 16
archive-zip.c | 22 +++---
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/archive-tar.c b/archive-tar.c
index 719673d..ee56b2b 100644
--- a/archive-tar.c
+++ b/archive
From: Martin Koegler
Signed-off-by: Martin Koegler
---
bisect.c| 2 +-
blame.c | 2 +-
builtin/fmt-merge-msg.c | 2 +-
builtin/mktag.c | 2 +-
dir.c | 4 ++--
dir.h | 2 +-
6 files changed, 7 insertions(+), 7 deletions
From: Martin Koegler
Signed-off-by: Martin Koegler
---
tree-walk.c | 17 +
tree-walk.h | 4 ++--
tree.h | 2 +-
3 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/tree-walk.c b/tree-walk.c
index 7c9f9e3..a7d8b2a 100644
--- a/tree-walk.c
+++ b/tree-walk.c
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/pack-objects.c | 6 +++---
config.c | 27 ++-
config.h | 2 ++
3 files changed, 27 insertions(+), 8 deletions(-)
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
From: Martin Koegler
Signed-off-by: Martin Koegler
---
Documentation/technical/api-parse-options.txt | 2 +-
builtin/pack-objects.c| 46 +--
parse-options.c | 6 ++--
3 files changed, 27 insertions(+), 27 deletions
From: Martin Koegler
Signed-off-by: Martin Koegler
---
delta.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/delta.h b/delta.h
index 2df0f55..dab7352 100644
--- a/delta.h
+++ b/delta.h
@@ -96,6 +96,11 @@ static inline size_t get_delta_hdr_size(const unsigned char
**datap
From: Martin Koegler
Signed-off-by: Martin Koegler
---
ref-filter.c | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/ref-filter.c b/ref-filter.c
index 5c903a5..30f249c 100644
--- a/ref-filter.c
+++ b/ref-filter.c
@@ -724,7 +724,7
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/replace.c | 2 +-
commit.c | 14 +++---
commit.h | 8
fsck.c| 14 +++---
fsck.h| 2 +-
5 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/builtin
From: Martin Koegler
Signed-off-by: Martin Koegler
---
combine-diff.c | 2 +-
diff.c | 28 ++--
diffcore-pickaxe.c | 4 ++--
xdiff-interface.c | 8
xdiff-interface.h | 6 +++---
5 files changed, 24 insertions(+), 24 deletions(-)
diff
From: Martin Koegler
Prevent generating delta offsets beyond 4G.
Signed-off-by: Martin Koegler
---
diff-delta.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/diff-delta.c b/diff-delta.c
index dffbab1..4489b79 100644
--- a/diff-delta.c
+++ b/diff-delta.c
@@ -453,6 +453,9
From: Martin Koegler
The current delta code produces incorrect pack objects for files > 4GB.
Signed-off-by: Martin Koegler
---
diff-delta.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/diff-delta.c b/diff-delta.c
index 3797ce6..db27c1a 100
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/pack-objects.c | 8
cache.h| 12 ++--
pack-check.c | 4 ++--
sha1_file.c| 6 +++---
wrapper.c | 8
zlib.c | 8
6 files
On Sat, Aug 12, 2017 at 02:47:25PM +0100, Ramsay Jones wrote:
> On 32-bit Linux, off_t is 64-bit and size_t is 32-bit.
--- t.c ---
#include
#include
int main()
{
printf("%d %d\n", sizeof(size_t), sizeof(off_t));
}
$ gcc -m32 -o t t.c
$ ./t.c
4 4
So is that really true?
Regards,
M
On Sat, Aug 12, 2017 at 11:59:15AM +0200, Torsten Bögershausen wrote:
> Thanks for working on this - unfortunatly the patch does not apply on
> git.git/master.
>
> Which baseline did you use ?
next - 98096fd7a85b93626db8757f944f2d8ffdf7e96a
It accumulated to 19 patches.
Regards,
Martin
On Sat, Aug 12, 2017 at 04:07:50PM +0200, Martin Ågren wrote:
> On 12 August 2017 at 10:47, Martin Koegler wrote:
> "size" is handed over to a "git_zstream" and goes through zlib.c,
> eventually ending up in zlib, which is outside Git's control, and which
>
On Sat, Aug 12, 2017 at 03:27:21PM +0200, Martin Ågren wrote:
> On 12 August 2017 at 10:47, Martin Koegler wrote:
> > From: Martin Koegler
> >
> > ---
> > bisect.c| 2 +-
> > blame.c | 2 +-
> > builtin/fmt-merge-msg.c
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/pack-objects.c | 48
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
index aa70f80..f8db283 100644
--- a/builtin/pack
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/index-pack.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 7f3ccd0..bf2d728 100644
--- a/builtin/index-pack.c
+++ b/builtin/index
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/pack-objects.c | 6 +++---
config.c | 27 ++-
config.h | 1 +
3 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
From: Martin Koegler
Signed-off-by: Martin Koegler
---
combine-diff.c | 2 +-
diff.c | 28 ++--
diffcore-pickaxe.c | 4 ++--
xdiff-interface.c | 6 +++---
xdiff-interface.h | 6 +++---
5 files changed, 23 insertions(+), 23 deletions(-)
diff --git
From: Martin Koegler
---
bisect.c| 2 +-
blame.c | 2 +-
builtin/fmt-merge-msg.c | 2 +-
builtin/mktag.c | 2 +-
dir.c | 4 ++--
dir.h | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/bisect.c b
From: Martin Koegler
Signed-off-by: Martin Koegler
---
ref-filter.c | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/ref-filter.c b/ref-filter.c
index 5c903a5..30f249c 100644
--- a/ref-filter.c
+++ b/ref-filter.c
@@ -724,7 +724,7
From: Martin Koegler
Signed-off-by: Martin Koegler
---
Applies on top of my size_t series
I'm not sure, if die or error is better.
delta.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/delta.h b/delta.h
index 2df0f55..18a4983 100644
--- a/delta.h
+++ b/delta.h
@@ -96,6 +
From: Martin Koegler
---
archive-tar.c | 16
archive-zip.c | 22 +++---
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/archive-tar.c b/archive-tar.c
index 719673d..ee56b2b 100644
--- a/archive-tar.c
+++ b/archive-tar.c
@@ -12,7 +12,7
From: Martin Koegler
Signed-off-by: Martin Koegler
---
tree-walk.c | 17 +
tree-walk.h | 4 ++--
tree.h | 2 +-
3 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/tree-walk.c b/tree-walk.c
index 7c9f9e3..a7d8b2a 100644
--- a/tree-walk.c
+++ b/tree-walk.c
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/unpack-objects.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/builtin/unpack-objects.c b/builtin/unpack-objects.c
index 001dd4b..0d8b6b3 100644
--- a/builtin/unpack-objects.c
+++ b
On Thu, Aug 10, 2017 at 01:07:07PM -0700, Junio C Hamano wrote:
> > The current delta code produces incorrect pack objects for files > 4GB.
> >
> > Signed-off-by: Martin Koegler
>
> I am a bit torn on this change.
>
> Given that this is not merely a local s
On Thu, Aug 10, 2017 at 03:04:51PM -0700, Junio C Hamano wrote:
> Martin Koegler writes:
>
> > For next. As this touches core functions, it will likely produce
> > conflicts with other changes. Please provide the commit you want
> > to rebase the patch on and I'll
On Thu, Aug 10, 2017 at 03:27:28PM -0700, Junio C Hamano wrote:
> Please do not start your patch series from 5/9 when there is no 1/9,
> 2/9, 3/9, and 4/9. It is seriously confusing.
>
> I am guessing that you are trying to split the series into
> manageable pieces by going per call graph and cod
On Thu, Aug 10, 2017 at 01:49:24PM -0700, Junio C Hamano wrote:
> The lower 4-byte of moff (before incrementing it with msize) were
> already encoded to the output stream before this hunk. Shouldn't
> we be checking if moff would fit in uint32_t _before_ that happens?
moff is otherwise only decre
From: Martin Koegler
Signed-off-by: Martin Koegler
---
cache.h | 16 +++
sha1_file.c | 68 ++---
streaming.c | 2 +-
3 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/cache.h b/cache.h
index 9185763
From: Martin Koegler
Signed-off-by: Martin Koegler
---
block-sha1/sha1.c | 2 +-
block-sha1/sha1.h | 2 +-
ppc/sha1.c| 2 +-
ppc/sha1.h| 2 +-
sha1dc_git.c | 2 +-
sha1dc_git.h | 2 +-
sha1dc_git_ext.h | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/replace.c | 2 +-
commit.c | 14 +++---
commit.h | 8
fsck.c| 14 +++---
fsck.h| 2 +-
5 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/builtin
From: Martin Koegler
Signed-off-by: Martin Koegler
---
cache-tree.c | 6 +++---
cache-tree.h | 2 +-
cache.h | 6 +++---
convert.c | 18 +-
environment.c | 4 ++--
read-cache.c | 18 +-
6 files changed, 27 insertions(+), 27 deletions(-)
diff
From: Martin Koegler
Prevent generating delta offsets beyond 4G.
Signed-off-by: Martin Koegler
---
diff-delta.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/diff-delta.c b/diff-delta.c
index 3d5e1ef..633883e 100644
--- a/diff-delta.c
+++ b/diff-delta.c
@@ -454,6 +454,9
From: Martin Koegler
Signed-off-by: Martin Koegler
---
builtin/pack-objects.c | 10 +-
cache.h| 12 ++--
pack-check.c | 6 +++---
pack.h | 2 +-
sha1_file.c| 6 +++---
wrapper.c | 8
zlib.c
From: Martin Koegler
The current delta code produces incorrect pack objects for files > 4GB.
Signed-off-by: Martin Koegler
---
For next.
diff-delta.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/diff-delta.c b/diff-delta.c
index 3797
From: Martin Koegler
It changes the signature of the core object access function
including any other functions to assure a clean compile if
sizeof(size_t) != sizeof(unsigned long).
Signed-off-by: Martin Koegler
---
For next. As this touches core functions, it will likely produce
conflicts with
On Wed, Aug 09, 2017 at 09:19:06AM +0200, Martin Koegler wrote:
> On Tue, Aug 08, 2017 at 11:04:20PM -0700, Junio C Hamano wrote:
> > As https://travis-ci.org/git/git/jobs/262463159 shows, unfortunately
> > it turns out that things are not so simple X-<. On Linux32, size_t
>
On Tue, Aug 08, 2017 at 11:04:20PM -0700, Junio C Hamano wrote:
> Martin Koegler writes:
>
> > From: Martin Koegler
> >
> > It changes the signature of the core object access function
> > including any other functions to assure a clean compile if
> > si
From: Martin Koegler
It changes the signature of the core object access function
including any other functions to assure a clean compile if
sizeof(size_t) != sizeof(unsigned long).
Signed-off-by: Martin Koegler
---
There is much more to change in the codebase. It JUST fixes the signature
of
On Mon, Aug 07, 2017 at 06:44:16PM -0700, Junio C Hamano wrote:
> Having said that, I am a bit curious how you came to this patch.
> Was the issue found by code inspection, or did you actually have a
> real life use case to raise the core.bigFileThreshold configuration
> to a value above 4GB?
Real
679dd939972c151bcf23c122cdc570 Mon Sep 17 00:00:00 2001
From: Martin Koegler
Date: Mon, 7 Aug 2017 20:00:30 +0200
Subject: [PATCH] Fix delta integer overflows
The current delta code produces incorrect pack objects for files > 4GB.
Signed-off-by: Martin Koegler
---
diff-delta.c | 24 +
From: Martin Koegler
The current delta code produces incorrect pack objects for files > 4GB.
Signed-off-by: Martin Koegler
---
diff-delta.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
Just pass any file > 4 GB to the delta-compression [by increasi
54 matches
Mail list logo