Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "Source Management Tools"

From eLinux.org
Jump to: navigation, search
(reorganize page, add diff, patch and diffstat)
(Patch Management Tools: make diffstat description more verbose)
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 produces statistics (counts for insertions and deletions, etc.) for patches
+
* 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 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:29, 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.