Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

Thanks

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
5  
Patch files are human readable. –  Zoredache Oct 21 '11 at 21:12

2 Answers 2

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,....). –  4r1y4n 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.