Questions tagged [binary-diff]

18 questions
57
votes
3 answers

Is the git binary diff algorithm (delta storage) standardized?

Git uses a delta compression to store objects that are similar to each-other. Is this algorithm standardized and used in other tools as well? Is there documentation describing the format? Is it compatible with xdelta/VCDIFF/RFC 3284?
Thilo
  • 241,635
  • 91
  • 474
  • 626
17
votes
1 answer

How to compile the Google Courgette tool?

Courgette (description, source) is a Google tool that is used to update Chrome efficiently. It seems like a great and easy-to-use tool, but I cannot manage to compile it. I've tried VS2010, GYP and using a C++ compiler directly but all has…
Nikolai Samteladze
  • 7,337
  • 4
  • 41
  • 70
10
votes
3 answers

binary diff library for Java

There are several questions about text-diff libraries for Java on SO, but none about binary diff. So here I go: I'm looking for a binary diff library, implemented in Java. I found javaxdelta and GNU Diff port but I wonder if there are some other…
Neeme Praks
  • 8,150
  • 5
  • 40
  • 46
10
votes
2 answers

Binary diff algorithm for commercial software

I'm working on application sending changed files to other computers. Currently a changed file is sent completely even if the change is minor. I'm looking for a library (C,C++,Java) that would allow me to create a binary diff and send only the delta…
stwissel
  • 19,390
  • 6
  • 44
  • 90
9
votes
1 answer

data versioning with git : custom diff for specific files

So, i want to investigate git applicability to version tracking of certain binary or text tree data structures. The thing is that i want that the diff logic be completely custom, tailored for the data structure pattern. Assume the file in question…
lurscher
  • 23,085
  • 26
  • 113
  • 178
8
votes
6 answers

diff/patch for images

I'm writing a project where I need to transfer a set of similar images over the net. To speed things up, I thought about doing what most movie codecs do. having keyframes and then just send the changes. Now, what I got is a set of BufferedImages so…
lawl0r
  • 814
  • 6
  • 16
5
votes
1 answer

Git and binary data, best storage method

Im in the unfortunate situation of having to store some binary files in git, However I can choose how the data is stored on disk - in Git (in our own format which only the build system needs to read). I'd like to avoid talking specifics too much,…
ideasman42
  • 30,245
  • 24
  • 136
  • 249
4
votes
5 answers

Abuse of version control

Is version control suited for a project where content is essentially binary data files ? I am thinking about package that weight something like 10 giga, with a lot of BMP and TGA files. Can subversion handle something like this ? Is it possible to…
shodanex
  • 14,098
  • 10
  • 54
  • 86
2
votes
1 answer

Any working binary differ tool implements GDIFF(Generic Diff Format, NOT Graphical file difference)?

I've seen GDIFF(Generic Diff Format) in wikipedia, and I wander is there any command line tool implements this standard. Now the best I have is LibXDiff, but it's a library, I'll need some extra work to make it run. I know when it comes to…
tdihp
  • 2,049
  • 2
  • 20
  • 37
2
votes
1 answer

Minimizing the size of debugging information for testing at a remote location

I am trying to create a way to transfer the debug information of a C++ project to a remote location for testing. In the current development cycle, small changes to the code require the entire binary (100s MB in size and mostly debug info) to be…
narendasan
  • 23
  • 3
1
vote
2 answers

Multithreaded binary diff tool?

There are a lot of binary diff tools out there: xdelta rdiff vbdiff rsync and so on. They are great, but one-threaded. Is it possible to split large files on chunks, find diff between chunks simultaneously and then merge into the final delta? Any…
m9_psy
  • 2,557
  • 5
  • 21
  • 36
1
vote
2 answers

Why does bsdiff.exe have trouble with this smaller file?

I'm building a software patch using bsdiff.exe and applying it with bspatch.exe and have so far had no trouble with files smaller than 120MB. One binary file I have was previously 21MB and is now 77MB, and bsdiff seems to hang indefinitely on…
orkutWasNotSoBad
  • 640
  • 6
  • 12
1
vote
1 answer

Create "changset" of two bytearrays

I have some binary data. I will change over time, some bytes get added here and there, some get changed. Overall most of the bytearray remains the same. Is there any library, preferably Actionscript 3, that generats a "changeset" (is there a better…
TobiHeidi
  • 1,071
  • 1
  • 13
  • 22
0
votes
4 answers

Is there any binary diff tool for android apk special for android apk file?

when trying to reduce the apk file size when updating, someone suggest to use bsdiff to make binary patch and merge the patch on client side. But I think this is a common binary diff tool and we can get smaller patch file like chrome do using…
Cloude Lee
  • 159
  • 3
  • 7
0
votes
2 answers

How to quantitatively evaluate the difference of binary?

I know some binary diff tool like VBinDiff and others. Currently I have a large number of binary, around 500. So I am looking for a binary tool to quantitatively evaluate the difference of binaries.. Like evaluate the difference of binary 10 and…
lllllllllllll
  • 6,731
  • 6
  • 28
  • 67
1
2