Difference between revisions of "Source Management Tools"

From eLinux.org
Jump to: navigation, search
(De-english-ify the wikipedia link for 'patch')
(Patch Management Tools)
Line 12: Line 12:
 
** 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.
* 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.
+
* 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 or from standard input. If an input filename ends with .bz2, .Z or .gz, diffstat will read the uncompressed data via a pipe from the corresponding program.
 
** diffstat is included in most Linux distributions
 
** diffstat is included in most Linux distributions
 
** [http://invisible-island.net/diffstat/diffstat.html diffstat home page]
 
** [http://invisible-island.net/diffstat/diffstat.html diffstat home page]

Revision as of 17:33, 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 or from standard input. If an 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.