Questions tagged [diff]
The diff tag has no summary.
21 questions
0
votes
2
answers
148
views
When reconstructing file B from file A and a binary difference B-A, given that A and B-A are correct, do we still need to verify the integrity of B?
In the context of a software update system, suppose we have the following:
a.tar: an archive file containing an old version of an application
b-a.patch: a file containing the binary difference of the ...
3
votes
2
answers
391
views
universally understood file-diff format
I've always assumed that the output from diff (typically "unified", whether or not it's colorized) is universally understood among most if not all text-based language programmers. Whether it's used ...
4
votes
3
answers
160
views
Finding difference in a big live (almost identical) databases
I have a replicated database (not SQL, a triple store, but specifics should not matter too much) running on several hosts. Each of them holds a copy of the database which is updated by feeding from ...
7
votes
3
answers
1k
views
Can I release a git patch (diff) file of closed source/copyright code?
I've patched a bug in some code that is no longer being supported by it's owner but I would like to provide this to other members of the community.
A git.patch file technically contains copyright ...
4
votes
1
answer
1k
views
Why doesn't Google use Courgette for Android updates?
Google has an advanced diff tool specifically designed for compiled binaries called Courgette.
Is there any reason why they wouldn't use this in Android and the Google Play Store to download updates? ...
0
votes
1
answer
234
views
How to Ignore Bracketing Style in Code Comparison / Diff
How to ignore bracketing styles when doing code comparisons or diffs? We have several formats of bracketing and I would like:
function foo(){
}
to be considered the same as
function foo()
{
}
Right ...
4
votes
3
answers
934
views
Can we reduce confusion in line-based diff tools by annotating the code with some unique tokens?
Let's say I have
procedure1() {
--body of first procedure--
}
Then I rename it into procedure2 and create a procedure1 above it:
procedure1() {
--body of second procedure--
}
procedure2() {
...
4
votes
1
answer
233
views
Moving past the ignoring or considering whitespace binary: how should I compare files for e.g. commit review?
I am dissatisfied with the file comparison tools I have worked with so far. While no tool would be able to always predict the line matchings that make best sense, at least current tools should be able ...
10
votes
3
answers
1k
views
How do most sync programs monitor file changes?
Do sync programs like Dropbox typically track file changes by doing byte by byte comparisons, or using hashes, or using diff / keeping local commit logs like version control, or what?
8
votes
4
answers
26k
views
How can I display a diff result in a single file or document? [closed]
I'm reviewing my peer's code. I use SourceGear DiffMerge as my diff program, on a Windows environment.
While I'm using the diff program, I can clearly see the code changes, etc.
Is it possible to ...
8
votes
3
answers
2k
views
Choosing a diff program for Mercurial
I decided to try to contribute Firefox development, and they use Mercurial for source control. In the documentation about using Mercurial it was advised to choose a diff program and to do it before ...