Questions tagged [vcdiff]

9 questions
170
votes
5 answers

Diff Algorithm?

I've been looking like crazy for an explanation of a diff algorithm that works and is efficient. The closest I got is this link to RFC 3284 (from several Eric Sink blog posts), which describes in perfectly understandable terms the data format in…
Daniel Magliola
  • 27,613
  • 56
  • 154
  • 235
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
3
votes
2 answers

How to make vc-diff output more compact

I am doing C-x v = to inspect the current differences of a file under RCS control (that is, it has an associated file with ,v suffix). However, the output is barely readable because I changed every, say, 12th line. So I get these giant chunks of…
false
  • 10,182
  • 12
  • 93
  • 182
3
votes
5 answers

VCDIFF for Java or alternative binary diff formats

Is there an open-source Java implementation of the VCDIFF binary diff format (decoder and encoder)? There are xdelta and open-vcdiff, but those are both C libraries. Alternatively, are the other formats/algorithms that one could use to generate…
Thilo
  • 241,635
  • 91
  • 474
  • 626
1
vote
1 answer

Explanation about RFC3284 - VCDIFF format

i'm new trying to read this type of documentation, and i'm confused in how the instruction of VCDIFF works, this is the original doc: https://tools.ietf.org/html/rfc3284 This part: ADD: This instruction has two arguments, a size x and a sequence …
Latot
  • 135
  • 7
1
vote
1 answer

Using xdelta: header file not found. c++

I am trying to maintain file history on a server from a client and I have thought of using xdelta for it. There is almost no help online for using xdelta. I gathered a few bits and pieces of code and tried to run it in order to understand it myself…
Chandan
  • 146
  • 2
  • 15
0
votes
1 answer

Sample vcdiff-java client

I am trying out vcdiff for creating a diff file from source and target files. Also, will be applying the diff on source file to get the target file. I have achieved the above use case with xdelta linux command line tool. But how to achieve the same…
seeker
  • 2,843
  • 4
  • 25
  • 41
0
votes
1 answer

I would like to know if BSpatch can be used for applying the patch files generated by VCdiff

I need to generate delta by comparing two binary files using VCdiff. Can I apply the generated patch file to the node using BSpatch? I know that BSpatch is used for applying patch files generated by BSdiff but is there any provision that BSpatch can…
dsrr
  • 1
  • 1
0
votes
1 answer

Java SDCH compressor/decompressor

Someone knows a java library to decode/encode SDCH compression??? it has been created by Google and implemented in their Google Chrome web browser... so it will be a standard soon Some links about…
Curro
  • 1,231
  • 1
  • 12
  • 24