Autogenerated man pages for v1.2.4-gf61c2
[git.git] / man1 / git-diff.1
index 2b907c0..063e114 100755 (executable)
 ..
 .TH "GIT-DIFF" 1 "" "" ""
 .SH NAME
-git-diff \- Show changes between commits, commit and working tree, etc.
+git-diff \- Show changes between commits, commit and working tree, etc
 .SH "SYNOPSIS"
 
 
-git\-diff [ \-\-diff\-options ] <ent>{0,2} [<path>...]
+\fIgit\-diff\fR [ \-\-diff\-options ] <ent>{0,2} [<path>...]
 
 .SH "DESCRIPTION"
 
@@ -45,7 +45,7 @@ When two <ent>s are given, these two trees are compared using git\-diff\-tree\&.
 
 .TP
 \-\-diff\-options
- \-\-diff\-options are passed to the git\-diff\-files, git\-diff\-index, and git\-diff\-tree commands\&. See the documentation for these commands for description\&.
+ \fI\-\-diff\-options\fR are passed to the git\-diff\-files, git\-diff\-index, and git\-diff\-tree commands\&. See the documentation for these commands for description\&.
 
 .TP
 <path>...
@@ -56,7 +56,7 @@ The <path> arguments are also passed to git\-diff\-* commands\&.
 .TP
 Various ways to check your working tree
 
-.IP
+.nf
 $ git diff 
 $ git diff \-\-cached 
 $ git diff HEAD 
@@ -66,10 +66,12 @@ $ git diff HEAD
 would be committing if you run "git commit" without "\-a" option\&.
  changes in the working tree since your last commit; what you
 would be committing if you run "git commit \-a"
+.fi
+
 .TP
 Comparing with arbitrary commits
 
-.IP
+.nf
 $ git diff test 
 $ git diff HEAD \-\- \&./test 
 $ git diff HEAD^ HEAD 
@@ -80,10 +82,12 @@ tip of "test" branch\&.
 the tip of the current branch, but limit the comparison to the
 file "test"\&.
  compare the version before the last commit and the last commit\&.
+.fi
+
 .TP
 Limiting the diff output
 
-.IP
+.nf
 $ git diff \-\-diff\-filter=MRC 
 $ git diff \-\-name\-status \-r 
 $ git diff arch/i386 include/asm\-i386 
@@ -96,16 +100,20 @@ which in turn also disables recursive behaviour, so without \-r
 you would only see the directory name if there is a change in a
 file in a subdirectory\&.
  limit diff output to named subtrees\&.
+.fi
+
 .TP
 Munging the diff output
 
-.IP
+.nf
 $ git diff \-\-find\-copies\-harder \-B \-C 
 $ git diff \-R 
 
  spend extra cycles to find renames, copies and complete
 rewrites (very expensive)\&.
  output diff in reverse\&.
+.fi
+
 .SH "AUTHOR"