comparison en/mq.tex @ 235:80f387d13bfe

Fix a few command references.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 27 May 2007 09:45:13 -0700
parents 30e97616d808
children 09d5897ad935
comparison
equal deleted inserted replaced
234:30e97616d808 235:80f387d13bfe
27 Distributors of operating systems that include open source software 27 Distributors of operating systems that include open source software
28 often need to make changes to the packages they distribute so that 28 often need to make changes to the packages they distribute so that
29 they will build properly in their environments. 29 they will build properly in their environments.
30 30
31 When you have few changes to maintain, it is easy to manage a single 31 When you have few changes to maintain, it is easy to manage a single
32 patch using the standard \texttt{diff} and \texttt{patch} programs 32 patch using the standard \command{diff} and \command{patch} programs
33 (see section~\ref{sec:mq:patch} for a discussion of these tools). 33 (see section~\ref{sec:mq:patch} for a discussion of these tools).
34 Once the number of changes grows, it starts to makes sense to maintain 34 Once the number of changes grows, it starts to makes sense to maintain
35 patches as discrete ``chunks of work,'' so that for example a single 35 patches as discrete ``chunks of work,'' so that for example a single
36 patch will contain only one bug fix (the patch might modify several 36 patch will contain only one bug fix (the patch might modify several
37 files, but it's doing ``only one thing''), and you may have a number 37 files, but it's doing ``only one thing''), and you may have a number
878 The \command{diffstat} command~\cite{web:diffstat} generates a 878 The \command{diffstat} command~\cite{web:diffstat} generates a
879 histogram of the modifications made to each file in a patch. It 879 histogram of the modifications made to each file in a patch. It
880 provides a good way to ``get a sense of'' a patch---which files it 880 provides a good way to ``get a sense of'' a patch---which files it
881 affects, and how much change it introduces to each file and as a 881 affects, and how much change it introduces to each file and as a
882 whole. (I find that it's a good idea to use \command{diffstat}'s 882 whole. (I find that it's a good idea to use \command{diffstat}'s
883 \texttt{-p} option as a matter of course, as otherwise it will try to 883 \cmdopt{-p} option as a matter of course, as otherwise it will try to
884 do clever things with prefixes of file names that inevitably confuse 884 do clever things with prefixes of file names that inevitably confuse
885 at least me.) 885 at least me.)
886 886
887 \begin{figure}[ht] 887 \begin{figure}[ht]
888 \interaction{mq.tools.tools} 888 \interaction{mq.tools.tools}