The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
3answers
165 views

What can I do to let our team have code reviews of branch merges having hundreds of screens worth of Github diffs?

"Code review" (aka "peer review") seems like a really great idea, so my team started practicing it. For a little while it worked well, but then a co-worker merged a branch in, and asked for a review ...
0
votes
1answer
124 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() { } ...
6
votes
1answer
148 views

Heuristic Approach for Flexible DIFF Implementation

I have created a DIFF implementation to compare document revisions at work. It is based on An O(ND) Difference Algorithm and Its Variations. One thing that has become important is to take the list ...
3
votes
3answers
289 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() ...
-1
votes
1answer
98 views

How to write a program that diffs on hierarchy changes? [closed]

Why is it that diff programs work on a line-by-line basis instead of a hierarchal one? All code can be expressed in a hierarchy, even though it's not immediately apparent. Most of the data we work ...
4
votes
1answer
104 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 ...
4
votes
1answer
391 views

How does a binary delta update work?

Both Android and iOS seem to support their application having a binary delta update. But how does it work? I build a binary program, neither of the distribution sites have the source code - how does ...
7
votes
3answers
413 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?
3
votes
1answer
117 views

What does “windowed streaming” stand for?

So I was asking around the Mercurial development mailing list about binary diffing and patch handling and I got the following examples: whole file approaches (classic diff, bsdiff, Mercurial's ...
1
vote
4answers
2k 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 ...
4
votes
2answers
1k views

How to use external file comparer in MS TFS

I don't like ms diff that integrated into Visual Studio 2008 TFS Edition. Is it possible to change this file comparer to external one (Beyond Compare, for example)?
5
votes
3answers
539 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 ...