From: Junio C Hamano Date: Wed, 17 Nov 2010 21:57:58 +0000 (-0800) Subject: Merge branch 'maint' X-Git-Tag: v1.7.4-rc0~149 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5a7a0fae8f964b5ad179018d6a50f25ef7550f97?ds=inline;hp=-c Merge branch 'maint' * maint: clean: remove redundant variable baselen Documentation/git-pull: clarify configuration Document that rev-list --graph triggers parent rewriting. clean: avoid quoting twice document sigchain api Keep together options controlling the behaviour of diffcore-rename. t3402: test "rebase -s -X" --- 5a7a0fae8f964b5ad179018d6a50f25ef7550f97 diff --combined Documentation/diff-options.txt index bfd0b571e2,5495344e61..f3e95389aa --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@@ -207,7 -207,6 +207,7 @@@ endif::git-format-patch[ digits can be specified with `--abbrev=`. -B[][/]:: +--break-rewrites[=[][/]]:: Break complete rewrite changes into pairs of delete and create. This serves two purposes: + @@@ -230,7 -229,6 +230,7 @@@ eligible for being picked up as a possi another file. -M[]:: +--detect-renames[=]:: ifndef::git-log[] Detect renames. endif::git-log[] @@@ -246,24 -244,9 +246,10 @@@ endif::git-log[ hasn't changed. -C[]:: +--detect-copies[=]:: Detect copies as well as renames. See also `--find-copies-harder`. If `n` is specified, it has the same meaning as for `-M`. - ifndef::git-format-patch[] - --diff-filter=[(A|C|D|M|R|T|U|X|B)...[*]]:: - Select only files that are Added (`A`), Copied (`C`), - Deleted (`D`), Modified (`M`), Renamed (`R`), have their - type (i.e. regular file, symlink, submodule, ...) changed (`T`), - are Unmerged (`U`), are - Unknown (`X`), or have had their pairing Broken (`B`). - Any combination of the filter characters (including none) can be used. - When `*` (All-or-none) is added to the combination, all - paths are selected if there is any file that matches - other criteria in the comparison; if there is no file - that matches other criteria, nothing is selected. - endif::git-format-patch[] - --find-copies-harder:: For performance reasons, by default, `-C` option finds copies only if the original file of the copy was modified in the same @@@ -281,18 -264,26 +267,30 @@@ number. ifndef::git-format-patch[] + --diff-filter=[(A|C|D|M|R|T|U|X|B)...[*]]:: + Select only files that are Added (`A`), Copied (`C`), + Deleted (`D`), Modified (`M`), Renamed (`R`), have their + type (i.e. regular file, symlink, submodule, ...) changed (`T`), + are Unmerged (`U`), are + Unknown (`X`), or have had their pairing Broken (`B`). + Any combination of the filter characters (including none) can be used. + When `*` (All-or-none) is added to the combination, all + paths are selected if there is any file that matches + other criteria in the comparison; if there is no file + that matches other criteria, nothing is selected. + -S:: Look for differences that introduce or remove an instance of . Note that this is different than the string simply appearing in diff output; see the 'pickaxe' entry in linkgit:gitdiffcore[7] for more details. +-G:: + Look for differences whose added or removed line matches + the given . + --pickaxe-all:: - When `-S` finds a change, show all the changes in that + When `-S` or `-G` finds a change, show all the changes in that changeset, not just the files that contain the change in .