Christian Couder | 30eba7b | 2008-06-06 09:07:28 +0200 | [diff] [blame] | 1 | gitdiffcore(7) |
| 2 | ============== |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 3 | |
Christian Couder | 30eba7b | 2008-06-06 09:07:28 +0200 | [diff] [blame] | 4 | NAME |
| 5 | ---- |
| 6 | gitdiffcore - Tweaking diff output (June 2005) |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 7 | |
Christian Couder | 30eba7b | 2008-06-06 09:07:28 +0200 | [diff] [blame] | 8 | SYNOPSIS |
| 9 | -------- |
| 10 | git diff * |
| 11 | |
| 12 | DESCRIPTION |
| 13 | ----------- |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 14 | |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 15 | The diff commands `git-diff-index`, `git-diff-files`, and `git-diff-tree` |
Junio C Hamano | 4cc41a1 | 2007-02-07 17:03:46 -0800 | [diff] [blame] | 16 | can be told to manipulate differences they find in |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 17 | unconventional ways before showing `diff` output. The manipulation |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 18 | is collectively called "diffcore transformation". This short note |
Jonathan Nieder | 877276d | 2008-07-03 00:30:25 -0500 | [diff] [blame^] | 19 | describes what they are and how to use them to produce diff output |
| 20 | that is easier to understand than the conventional kind. |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 21 | |
| 22 | |
| 23 | The chain of operation |
| 24 | ---------------------- |
| 25 | |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 26 | The `git-diff-{asterisk}` family works by first comparing two sets of |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 27 | files: |
| 28 | |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 29 | - `git-diff-index` compares contents of a "tree" object and the |
Yasushi SHOJI | e1ccf53 | 2005-09-12 02:29:10 +0900 | [diff] [blame] | 30 | working directory (when '\--cached' flag is not used) or a |
| 31 | "tree" object and the index file (when '\--cached' flag is |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 32 | used); |
| 33 | |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 34 | - `git-diff-files` compares contents of the index file and the |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 35 | working directory; |
| 36 | |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 37 | - `git-diff-tree` compares contents of two "tree" objects; |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 38 | |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 39 | In all of these cases, the commands themselves compare |
| 40 | corresponding paths in the two sets of files. The result of |
| 41 | comparison is passed from these commands to what is internally |
| 42 | called "diffcore", in a format similar to what is output when |
| 43 | the -p option is not used. E.g. |
| 44 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 45 | ------------------------------------------------ |
| 46 | in-place edit :100644 100644 bcd1234... 0123456... M file0 |
| 47 | create :000000 100644 0000000... 1234567... A file4 |
| 48 | delete :100644 000000 1234567... 0000000... D file5 |
| 49 | unmerged :000000 000000 0000000... 0000000... U file6 |
| 50 | ------------------------------------------------ |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 51 | |
| 52 | The diffcore mechanism is fed a list of such comparison results |
| 53 | (each of which is called "filepair", although at this point each |
| 54 | of them talks about a single file), and transforms such a list |
Junio C Hamano | 28f8faf | 2005-06-05 17:54:10 -0700 | [diff] [blame] | 55 | into another list. There are currently 6 such transformations: |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 56 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 57 | - diffcore-pathspec |
| 58 | - diffcore-break |
| 59 | - diffcore-rename |
| 60 | - diffcore-merge-broken |
| 61 | - diffcore-pickaxe |
| 62 | - diffcore-order |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 63 | |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 64 | These are applied in sequence. The set of filepairs `git-diff-{asterisk}` |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 65 | commands find are used as the input to diffcore-pathspec, and |
| 66 | the output from diffcore-pathspec is used as the input to the |
| 67 | next transformation. The final result is then passed to the |
| 68 | output routine and generates either diff-raw format (see Output |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 69 | format sections of the manual for `git-diff-{asterisk}` commands) or |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 70 | diff-patch format. |
| 71 | |
| 72 | |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 73 | diffcore-pathspec: For Ignoring Files Outside Our Consideration |
Junio C Hamano | a67c1d0 | 2005-10-29 00:50:42 -0700 | [diff] [blame] | 74 | --------------------------------------------------------------- |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 75 | |
| 76 | The first transformation in the chain is diffcore-pathspec, and |
| 77 | is controlled by giving the pathname parameters to the |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 78 | `git-diff-{asterisk}` commands on the command line. The pathspec is used |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 79 | to limit the world diff operates in. It removes the filepairs |
Junio C Hamano | a6080a0 | 2007-06-07 00:04:01 -0700 | [diff] [blame] | 80 | outside the specified set of pathnames. E.g. If the input set |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 81 | of filepairs included: |
| 82 | |
| 83 | ------------------------------------------------ |
| 84 | :100644 100644 bcd1234... 0123456... M junkfile |
| 85 | ------------------------------------------------ |
| 86 | |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 87 | but the command invocation was `git diff-files myfile`, then the |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 88 | junkfile entry would be removed from the list because only "myfile" |
| 89 | is under consideration. |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 90 | |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 91 | Implementation note. For performance reasons, `git-diff-tree` |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 92 | uses the pathname parameters on the command line to cull set of |
| 93 | filepairs it feeds the diffcore mechanism itself, and does not |
| 94 | use diffcore-pathspec, but the end result is the same. |
| 95 | |
| 96 | |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 97 | diffcore-break: For Splitting Up "Complete Rewrites" |
Junio C Hamano | a67c1d0 | 2005-10-29 00:50:42 -0700 | [diff] [blame] | 98 | ---------------------------------------------------- |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 99 | |
| 100 | The second transformation in the chain is diffcore-break, and is |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 101 | controlled by the -B option to the `git-diff-{asterisk}` commands. This is |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 102 | used to detect a filepair that represents "complete rewrite" and |
| 103 | break such filepair into two filepairs that represent delete and |
| 104 | create. E.g. If the input contained this filepair: |
| 105 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 106 | ------------------------------------------------ |
| 107 | :100644 100644 bcd1234... 0123456... M file0 |
| 108 | ------------------------------------------------ |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 109 | |
| 110 | and if it detects that the file "file0" is completely rewritten, |
| 111 | it changes it to: |
| 112 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 113 | ------------------------------------------------ |
| 114 | :100644 000000 bcd1234... 0000000... D file0 |
| 115 | :000000 100644 0000000... 0123456... A file0 |
| 116 | ------------------------------------------------ |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 117 | |
| 118 | For the purpose of breaking a filepair, diffcore-break examines |
| 119 | the extent of changes between the contents of the files before |
| 120 | and after modification (i.e. the contents that have "bcd1234..." |
| 121 | and "0123456..." as their SHA1 content ID, in the above |
| 122 | example). The amount of deletion of original contents and |
| 123 | insertion of new material are added together, and if it exceeds |
| 124 | the "break score", the filepair is broken into two. The break |
| 125 | score defaults to 50% of the size of the smaller of the original |
| 126 | and the result (i.e. if the edit shrinks the file, the size of |
| 127 | the result is used; if the edit lengthens the file, the size of |
| 128 | the original is used), and can be customized by giving a number |
| 129 | after "-B" option (e.g. "-B75" to tell it to use 75%). |
| 130 | |
| 131 | |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 132 | diffcore-rename: For Detection Renames and Copies |
Junio C Hamano | a67c1d0 | 2005-10-29 00:50:42 -0700 | [diff] [blame] | 133 | ------------------------------------------------- |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 134 | |
| 135 | This transformation is used to detect renames and copies, and is |
| 136 | controlled by the -M option (to detect renames) and the -C option |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 137 | (to detect copies as well) to the `git-diff-{asterisk}` commands. If the |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 138 | input contained these filepairs: |
| 139 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 140 | ------------------------------------------------ |
| 141 | :100644 000000 0123456... 0000000... D fileX |
| 142 | :000000 100644 0000000... 0123456... A file0 |
| 143 | ------------------------------------------------ |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 144 | |
| 145 | and the contents of the deleted file fileX is similar enough to |
| 146 | the contents of the created file file0, then rename detection |
| 147 | merges these filepairs and creates: |
| 148 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 149 | ------------------------------------------------ |
| 150 | :100644 100644 0123456... 0123456... R100 fileX file0 |
| 151 | ------------------------------------------------ |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 152 | |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 153 | When the "-C" option is used, the original contents of modified files, |
| 154 | and deleted files (and also unmodified files, if the |
| 155 | "\--find-copies-harder" option is used) are considered as candidates |
| 156 | of the source files in rename/copy operation. If the input were like |
| 157 | these filepairs, that talk about a modified file fileY and a newly |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 158 | created file file0: |
| 159 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 160 | ------------------------------------------------ |
| 161 | :100644 100644 0123456... 1234567... M fileY |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 162 | :000000 100644 0000000... bcd3456... A file0 |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 163 | ------------------------------------------------ |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 164 | |
| 165 | the original contents of fileY and the resulting contents of |
| 166 | file0 are compared, and if they are similar enough, they are |
| 167 | changed to: |
| 168 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 169 | ------------------------------------------------ |
| 170 | :100644 100644 0123456... 1234567... M fileY |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 171 | :100644 100644 0123456... bcd3456... C100 fileY file0 |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 172 | ------------------------------------------------ |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 173 | |
| 174 | In both rename and copy detection, the same "extent of changes" |
| 175 | algorithm used in diffcore-break is used to determine if two |
| 176 | files are "similar enough", and can be customized to use |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 177 | a similarity score different from the default of 50% by giving a |
| 178 | number after the "-M" or "-C" option (e.g. "-M8" to tell it to use |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 179 | 8/10 = 80%). |
| 180 | |
Yasushi SHOJI | e1ccf53 | 2005-09-12 02:29:10 +0900 | [diff] [blame] | 181 | Note. When the "-C" option is used with `\--find-copies-harder` |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 182 | option, `git-diff-{asterisk}` commands feed unmodified filepairs to |
Junio C Hamano | 232b75a | 2005-06-19 13:14:53 -0700 | [diff] [blame] | 183 | diffcore mechanism as well as modified ones. This lets the copy |
| 184 | detector consider unmodified files as copy source candidates at |
Yasushi SHOJI | e1ccf53 | 2005-09-12 02:29:10 +0900 | [diff] [blame] | 185 | the expense of making it slower. Without `\--find-copies-harder`, |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 186 | `git-diff-{asterisk}` commands can detect copies only if the file that was |
Junio C Hamano | 232b75a | 2005-06-19 13:14:53 -0700 | [diff] [blame] | 187 | copied happened to have been modified in the same changeset. |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 188 | |
| 189 | |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 190 | diffcore-merge-broken: For Putting "Complete Rewrites" Back Together |
Junio C Hamano | a67c1d0 | 2005-10-29 00:50:42 -0700 | [diff] [blame] | 191 | -------------------------------------------------------------------- |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 192 | |
| 193 | This transformation is used to merge filepairs broken by |
Christian Meder | f73ae1f | 2005-10-05 15:08:26 -0700 | [diff] [blame] | 194 | diffcore-break, and not transformed into rename/copy by |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 195 | diffcore-rename, back into a single modification. This always |
| 196 | runs when diffcore-break is used. |
| 197 | |
| 198 | For the purpose of merging broken filepairs back, it uses a |
| 199 | different "extent of changes" computation from the ones used by |
| 200 | diffcore-break and diffcore-rename. It counts only the deletion |
| 201 | from the original, and does not count insertion. If you removed |
| 202 | only 10 lines from a 100-line document, even if you added 910 |
| 203 | new lines to make a new 1000-line document, you did not do a |
| 204 | complete rewrite. diffcore-break breaks such a case in order to |
| 205 | help diffcore-rename to consider such filepairs as candidate of |
| 206 | rename/copy detection, but if filepairs broken that way were not |
| 207 | matched with other filepairs to create rename/copy, then this |
| 208 | transformation merges them back into the original |
| 209 | "modification". |
| 210 | |
| 211 | The "extent of changes" parameter can be tweaked from the |
| 212 | default 80% (that is, unless more than 80% of the original |
| 213 | material is deleted, the broken pairs are merged back into a |
| 214 | single modification) by giving a second number to -B option, |
| 215 | like these: |
| 216 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 217 | * -B50/60 (give 50% "break score" to diffcore-break, use 60% |
| 218 | for diffcore-merge-broken). |
| 219 | |
| 220 | * -B/60 (the same as above, since diffcore-break defaults to 50%). |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 221 | |
Junio C Hamano | 366175e | 2005-06-19 13:17:50 -0700 | [diff] [blame] | 222 | Note that earlier implementation left a broken pair as a separate |
Christian Meder | f73ae1f | 2005-10-05 15:08:26 -0700 | [diff] [blame] | 223 | creation and deletion patches. This was an unnecessary hack and |
Junio C Hamano | 366175e | 2005-06-19 13:17:50 -0700 | [diff] [blame] | 224 | the latest implementation always merges all the broken pairs |
| 225 | back into modifications, but the resulting patch output is |
Christian Meder | f73ae1f | 2005-10-05 15:08:26 -0700 | [diff] [blame] | 226 | formatted differently for easier review in case of such |
Junio C Hamano | 366175e | 2005-06-19 13:17:50 -0700 | [diff] [blame] | 227 | a complete rewrite by showing the entire contents of old version |
| 228 | prefixed with '-', followed by the entire contents of new |
| 229 | version prefixed with '+'. |
| 230 | |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 231 | |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 232 | diffcore-pickaxe: For Detecting Addition/Deletion of Specified String |
Junio C Hamano | a67c1d0 | 2005-10-29 00:50:42 -0700 | [diff] [blame] | 233 | --------------------------------------------------------------------- |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 234 | |
| 235 | This transformation is used to find filepairs that represent |
| 236 | changes that touch a specified string, and is controlled by the |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 237 | -S option and the `\--pickaxe-all` option to the `git-diff-{asterisk}` |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 238 | commands. |
| 239 | |
| 240 | When diffcore-pickaxe is in use, it checks if there are |
| 241 | filepairs whose "original" side has the specified string and |
| 242 | whose "result" side does not. Such a filepair represents "the |
| 243 | string appeared in this changeset". It also checks for the |
| 244 | opposite case that loses the specified string. |
| 245 | |
Yasushi SHOJI | e1ccf53 | 2005-09-12 02:29:10 +0900 | [diff] [blame] | 246 | When `\--pickaxe-all` is not in effect, diffcore-pickaxe leaves |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 247 | only such filepairs that touch the specified string in its |
Yasushi SHOJI | e1ccf53 | 2005-09-12 02:29:10 +0900 | [diff] [blame] | 248 | output. When `\--pickaxe-all` is used, diffcore-pickaxe leaves all |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 249 | filepairs intact if there is such a filepair, or makes the |
| 250 | output empty otherwise. The latter behaviour is designed to |
| 251 | make reviewing of the changes in the context of the whole |
| 252 | changeset easier. |
| 253 | |
| 254 | |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 255 | diffcore-order: For Sorting the Output Based on Filenames |
Junio C Hamano | a67c1d0 | 2005-10-29 00:50:42 -0700 | [diff] [blame] | 256 | --------------------------------------------------------- |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 257 | |
| 258 | This is used to reorder the filepairs according to the user's |
| 259 | (or project's) taste, and is controlled by the -O option to the |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 260 | `git-diff-{asterisk}` commands. |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 261 | |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 262 | This takes a text file each of whose lines is a shell glob |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 263 | pattern. Filepairs that match a glob pattern on an earlier line |
| 264 | in the file are output before ones that match a later line, and |
| 265 | filepairs that do not match any glob pattern are output last. |
| 266 | |
c.shoemaker@cox.net | 59df2a1 | 2005-10-29 00:15:49 -0400 | [diff] [blame] | 267 | As an example, a typical orderfile for the core git probably |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 268 | would look like this: |
Junio C Hamano | 4a1332d | 2005-06-05 14:30:58 -0700 | [diff] [blame] | 269 | |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 270 | ------------------------------------------------ |
Jonas Fonseca | df8baa4 | 2005-10-03 19:16:30 +0200 | [diff] [blame] | 271 | README |
| 272 | Makefile |
| 273 | Documentation |
| 274 | *.h |
| 275 | *.c |
| 276 | t |
Junio C Hamano | 8db9307 | 2005-08-30 13:51:01 -0700 | [diff] [blame] | 277 | ------------------------------------------------ |
Christian Couder | 30eba7b | 2008-06-06 09:07:28 +0200 | [diff] [blame] | 278 | |
| 279 | SEE ALSO |
| 280 | -------- |
| 281 | linkgit:git-diff[1], |
| 282 | linkgit:git-diff-files[1], |
| 283 | linkgit:git-diff-index[1], |
| 284 | linkgit:git-diff-tree[1], |
| 285 | linkgit:git-format-patch[1], |
| 286 | linkgit:git-log[1], |
| 287 | linkgit:gitglossary[7], |
| 288 | link:user-manual.html[The Git User's Manual] |
| 289 | |
| 290 | GIT |
| 291 | --- |
Christian Couder | 9e1f0a8 | 2008-06-06 09:07:32 +0200 | [diff] [blame] | 292 | Part of the linkgit:git[1] suite. |