Difference between revisions of "Source Management Tools"

From eLinux.org
Jump to: navigation, search
(Add wikipedia link for 'patch')
(De-english-ify the wikipedia link for 'patch')
Line 9: Line 9:
 
* diff - to create patches
 
* diff - to create patches
 
** use 'man diff' on your local system for information
 
** use 'man diff' on your local system for information
* [http://en.wikipedia.org/wiki/Patch_%28Unix%29 patch] - to apply patches
+
* [http://wikipedia.org/wiki/Patch_%28Unix%29 patch] - to apply patches
 
** use 'man patch' on your local system for information
 
** use 'man patch' on your local system for information
 
* [[Quilt]] is good for managing a group of patches relative to a single source base.
 
* [[Quilt]] is good for managing a group of patches relative to a single source base.

Revision as of 10:31, 11 June 2007

Here are some different source management tools commonly used with Linux:

Overview

Patch Management Tools

  • diff - to create patches
    • use 'man diff' on your local system for information
  • patch - to apply patches
    • use 'man patch' on your local system for information
  • Quilt is good for managing a group of patches relative to a single source base.
  • diffstat reads a patch file (or standard input) and displays a histogram of the insertions, deletions, and modifications per-file. It is useful for reviewing large, complex patch files. It reads from one or more input files which contain output from diff, producing a histogram of the total lines changed for each file referenced. If the input filename ends with .bz2, .Z or .gz, diffstat will read the uncompressed data via a pipe from the corresponding program.
  • Tim's patch management tools - diffinfo and friends - a more verbose diffstat, with splitting, joining and comparing of patches
  • See also Diff And Patch Tricks

GIT

GIT is the source code management tool used by many kernel developers.