Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Do you know any application that be able to describe .patch files?
I mean an application that be able to get .patch file & give me a human readable of the changes it make on files so I'll be able to make that changes manually on another verson of target file.


share|improve this question
I think TortoiseDiff (part of TortoiseSVN) does this, but I'm not sure. – Daniel Beck Oct 21 '11 at 20:22
Patch files are human readable. – Zoredache Oct 21 '11 at 21:12

Patch files are human readable and can be opened and viewed on most text editors(Notepad++ being my preferred)

share|improve this answer
yes but I need to understand it(What's deleted,added where,....). – RYN Oct 22 '11 at 19:21

If you mean .patch files as produced by standard Unix/Linux diff(1) tool and applied by patch(1) tool, then there's a convention on having description for them right inside the patch file, at the beginning of it (that's because patch(1) tool will ignore anything before the actual patch header in the file).

Here's typical example from a Linux kernel patches.

There're number of tools which can be used to manage set of (related) patches: list, show description, apply/unapply, etc. The simplest one is probably quilt. Then there's also StGit. These two system are centered around the concept of patches (and so allow additional flexibility dealing with them, for example, to change the order in which they're applied). But what's important is that whenever you use any version control system, you essentially deal with the system to store and describe patches.

For example, "git log" will show you descriptions of patches applied, in order. And "git log -p" will show both descriptions and patches themselves.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .