Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
| 2 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| 4 | <head> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
| 6 | <meta name="generator" content="AsciiDoc 8.6.8" /> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 7 | <title>git-blame(1)</title> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 8 | <style type="text/css"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
| 10 | |
| 11 | /* Default font. */ |
| 12 | body { |
| 13 | font-family: Georgia,serif; |
| 14 | } |
| 15 | |
| 16 | /* Title font. */ |
| 17 | h1, h2, h3, h4, h5, h6, |
| 18 | div.title, caption.title, |
| 19 | thead, p.table.header, |
| 20 | #toctitle, |
| 21 | #author, #revnumber, #revdate, #revremark, |
| 22 | #footer { |
| 23 | font-family: Arial,Helvetica,sans-serif; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | body { |
| 27 | margin: 1em 5% 1em 5%; |
| 28 | } |
| 29 | |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 30 | a { |
| 31 | color: blue; |
| 32 | text-decoration: underline; |
| 33 | } |
| 34 | a:visited { |
| 35 | color: fuchsia; |
| 36 | } |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 37 | |
| 38 | em { |
| 39 | font-style: italic; |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 40 | color: navy; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | strong { |
| 44 | font-weight: bold; |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 45 | color: #083194; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 46 | } |
| 47 | |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 48 | h1, h2, h3, h4, h5, h6 { |
| 49 | color: #527bbd; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 50 | margin-top: 1.2em; |
| 51 | margin-bottom: 0.5em; |
| 52 | line-height: 1.3; |
| 53 | } |
| 54 | |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 55 | h1, h2, h3 { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 56 | border-bottom: 2px solid silver; |
| 57 | } |
| 58 | h2 { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 59 | padding-top: 0.5em; |
| 60 | } |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 61 | h3 { |
| 62 | float: left; |
| 63 | } |
| 64 | h3 + * { |
| 65 | clear: left; |
| 66 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 67 | h5 { |
| 68 | font-size: 1.0em; |
| 69 | } |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 70 | |
| 71 | div.sectionbody { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 72 | margin-left: 0; |
| 73 | } |
| 74 | |
| 75 | hr { |
| 76 | border: 1px solid silver; |
| 77 | } |
| 78 | |
| 79 | p { |
| 80 | margin-top: 0.5em; |
| 81 | margin-bottom: 0.5em; |
| 82 | } |
| 83 | |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 84 | ul, ol, li > p { |
| 85 | margin-top: 0; |
| 86 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 87 | ul > li { color: #aaa; } |
| 88 | ul > li > * { color: black; } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 89 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 90 | .monospaced, code, pre { |
| 91 | font-family: "Courier New", Courier, monospace; |
| 92 | font-size: inherit; |
| 93 | color: navy; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 94 | padding: 0; |
| 95 | margin: 0; |
| 96 | } |
| 97 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 98 | |
| 99 | #author { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 100 | color: #527bbd; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 101 | font-weight: bold; |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 102 | font-size: 1.1em; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 103 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 104 | #email { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 105 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 106 | #revnumber, #revdate, #revremark { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 107 | } |
| 108 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 109 | #footer { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 110 | font-size: small; |
| 111 | border-top: 2px solid silver; |
| 112 | padding-top: 0.5em; |
| 113 | margin-top: 4.0em; |
| 114 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 115 | #footer-text { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 116 | float: left; |
| 117 | padding-bottom: 0.5em; |
| 118 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 119 | #footer-badges { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 120 | float: right; |
| 121 | padding-bottom: 0.5em; |
| 122 | } |
| 123 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 124 | #preamble { |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 125 | margin-top: 1.5em; |
| 126 | margin-bottom: 1.5em; |
| 127 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 128 | div.imageblock, div.exampleblock, div.verseblock, |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 129 | div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock, |
| 130 | div.admonitionblock { |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 131 | margin-top: 1.0em; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 132 | margin-bottom: 1.5em; |
| 133 | } |
| 134 | div.admonitionblock { |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 135 | margin-top: 2.0em; |
| 136 | margin-bottom: 2.0em; |
| 137 | margin-right: 10%; |
| 138 | color: #606060; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 139 | } |
| 140 | |
| 141 | div.content { /* Block element content. */ |
| 142 | padding: 0; |
| 143 | } |
| 144 | |
| 145 | /* Block element titles. */ |
| 146 | div.title, caption.title { |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 147 | color: #527bbd; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 148 | font-weight: bold; |
| 149 | text-align: left; |
| 150 | margin-top: 1.0em; |
| 151 | margin-bottom: 0.5em; |
| 152 | } |
| 153 | div.title + * { |
| 154 | margin-top: 0; |
| 155 | } |
| 156 | |
| 157 | td div.title:first-child { |
| 158 | margin-top: 0.0em; |
| 159 | } |
| 160 | div.content div.title:first-child { |
| 161 | margin-top: 0.0em; |
| 162 | } |
| 163 | div.content + div.title { |
| 164 | margin-top: 0.0em; |
| 165 | } |
| 166 | |
| 167 | div.sidebarblock > div.content { |
| 168 | background: #ffffee; |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 169 | border: 1px solid #dddddd; |
| 170 | border-left: 4px solid #f0f0f0; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 171 | padding: 0.5em; |
| 172 | } |
| 173 | |
| 174 | div.listingblock > div.content { |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 175 | border: 1px solid #dddddd; |
| 176 | border-left: 5px solid #f0f0f0; |
| 177 | background: #f8f8f8; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 178 | padding: 0.5em; |
| 179 | } |
| 180 | |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 181 | div.quoteblock, div.verseblock { |
| 182 | padding-left: 1.0em; |
| 183 | margin-left: 1.0em; |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 184 | margin-right: 10%; |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 185 | border-left: 5px solid #f0f0f0; |
| 186 | color: #888; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 187 | } |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 188 | |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 189 | div.quoteblock > div.attribution { |
| 190 | padding-top: 0.5em; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 191 | text-align: right; |
| 192 | } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 193 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 194 | div.verseblock > pre.content { |
| 195 | font-family: inherit; |
| 196 | font-size: inherit; |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 197 | } |
| 198 | div.verseblock > div.attribution { |
| 199 | padding-top: 0.75em; |
| 200 | text-align: left; |
| 201 | } |
| 202 | /* DEPRECATED: Pre version 8.2.7 verse style literal block. */ |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 203 | div.verseblock + div.attribution { |
| 204 | text-align: left; |
| 205 | } |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 206 | |
| 207 | div.admonitionblock .icon { |
| 208 | vertical-align: top; |
| 209 | font-size: 1.1em; |
| 210 | font-weight: bold; |
| 211 | text-decoration: underline; |
| 212 | color: #527bbd; |
| 213 | padding-right: 0.5em; |
| 214 | } |
| 215 | div.admonitionblock td.content { |
| 216 | padding-left: 0.5em; |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 217 | border-left: 3px solid #dddddd; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 218 | } |
| 219 | |
| 220 | div.exampleblock > div.content { |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 221 | border-left: 3px solid #dddddd; |
| 222 | padding-left: 0.5em; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 223 | } |
| 224 | |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 225 | div.imageblock div.content { padding-left: 0; } |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 226 | span.image img { border-style: none; } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 227 | a.image:visited { color: white; } |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 228 | |
| 229 | dl { |
| 230 | margin-top: 0.8em; |
| 231 | margin-bottom: 0.8em; |
| 232 | } |
| 233 | dt { |
| 234 | margin-top: 0.5em; |
| 235 | margin-bottom: 0; |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 236 | font-style: normal; |
| 237 | color: navy; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 238 | } |
| 239 | dd > *:first-child { |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 240 | margin-top: 0.1em; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 241 | } |
| 242 | |
| 243 | ul, ol { |
| 244 | list-style-position: outside; |
| 245 | } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 246 | ol.arabic { |
| 247 | list-style-type: decimal; |
| 248 | } |
| 249 | ol.loweralpha { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 250 | list-style-type: lower-alpha; |
| 251 | } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 252 | ol.upperalpha { |
| 253 | list-style-type: upper-alpha; |
| 254 | } |
| 255 | ol.lowerroman { |
| 256 | list-style-type: lower-roman; |
| 257 | } |
| 258 | ol.upperroman { |
| 259 | list-style-type: upper-roman; |
| 260 | } |
| 261 | |
| 262 | div.compact ul, div.compact ol, |
| 263 | div.compact p, div.compact p, |
| 264 | div.compact div, div.compact div { |
| 265 | margin-top: 0.1em; |
| 266 | margin-bottom: 0.1em; |
| 267 | } |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 268 | |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 269 | tfoot { |
| 270 | font-weight: bold; |
| 271 | } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 272 | td > div.verse { |
| 273 | white-space: pre; |
| 274 | } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 275 | |
| 276 | div.hdlist { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 277 | margin-top: 0.8em; |
| 278 | margin-bottom: 0.8em; |
| 279 | } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 280 | div.hdlist tr { |
| 281 | padding-bottom: 15px; |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 282 | } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 283 | dt.hdlist1.strong, td.hdlist1.strong { |
| 284 | font-weight: bold; |
| 285 | } |
| 286 | td.hdlist1 { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 287 | vertical-align: top; |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 288 | font-style: normal; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 289 | padding-right: 0.8em; |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 290 | color: navy; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 291 | } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 292 | td.hdlist2 { |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 293 | vertical-align: top; |
| 294 | } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 295 | div.hdlist.compact tr { |
| 296 | margin: 0; |
| 297 | padding-bottom: 0; |
| 298 | } |
| 299 | |
| 300 | .comment { |
| 301 | background: yellow; |
| 302 | } |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 303 | |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 304 | .footnote, .footnoteref { |
| 305 | font-size: 0.8em; |
| 306 | } |
| 307 | |
| 308 | span.footnote, span.footnoteref { |
| 309 | vertical-align: super; |
| 310 | } |
| 311 | |
| 312 | #footnotes { |
| 313 | margin: 20px 0 20px 0; |
| 314 | padding: 7px 0 0 0; |
| 315 | } |
| 316 | |
| 317 | #footnotes div.footnote { |
| 318 | margin: 0 0 5px 0; |
| 319 | } |
| 320 | |
| 321 | #footnotes hr { |
| 322 | border: none; |
| 323 | border-top: 1px solid silver; |
| 324 | height: 1px; |
| 325 | text-align: left; |
| 326 | margin-left: 0; |
| 327 | width: 20%; |
| 328 | min-width: 100px; |
| 329 | } |
| 330 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 331 | div.colist td { |
| 332 | padding-right: 0.5em; |
| 333 | padding-bottom: 0.3em; |
| 334 | vertical-align: top; |
| 335 | } |
| 336 | div.colist td img { |
| 337 | margin-top: 0.3em; |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 338 | } |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 339 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 340 | @media print { |
| 341 | #footer-badges { display: none; } |
| 342 | } |
| 343 | |
| 344 | #toc { |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 345 | margin-bottom: 2.5em; |
| 346 | } |
| 347 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 348 | #toctitle { |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 349 | color: #527bbd; |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 350 | font-size: 1.1em; |
| 351 | font-weight: bold; |
| 352 | margin-top: 1.0em; |
| 353 | margin-bottom: 0.1em; |
| 354 | } |
| 355 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 356 | div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 { |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 357 | margin-top: 0; |
| 358 | margin-bottom: 0; |
| 359 | } |
| 360 | div.toclevel2 { |
| 361 | margin-left: 2em; |
| 362 | font-size: 0.9em; |
| 363 | } |
| 364 | div.toclevel3 { |
| 365 | margin-left: 4em; |
| 366 | font-size: 0.9em; |
| 367 | } |
| 368 | div.toclevel4 { |
| 369 | margin-left: 6em; |
| 370 | font-size: 0.9em; |
| 371 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 372 | |
| 373 | span.aqua { color: aqua; } |
| 374 | span.black { color: black; } |
| 375 | span.blue { color: blue; } |
| 376 | span.fuchsia { color: fuchsia; } |
| 377 | span.gray { color: gray; } |
| 378 | span.green { color: green; } |
| 379 | span.lime { color: lime; } |
| 380 | span.maroon { color: maroon; } |
| 381 | span.navy { color: navy; } |
| 382 | span.olive { color: olive; } |
| 383 | span.purple { color: purple; } |
| 384 | span.red { color: red; } |
| 385 | span.silver { color: silver; } |
| 386 | span.teal { color: teal; } |
| 387 | span.white { color: white; } |
| 388 | span.yellow { color: yellow; } |
| 389 | |
| 390 | span.aqua-background { background: aqua; } |
| 391 | span.black-background { background: black; } |
| 392 | span.blue-background { background: blue; } |
| 393 | span.fuchsia-background { background: fuchsia; } |
| 394 | span.gray-background { background: gray; } |
| 395 | span.green-background { background: green; } |
| 396 | span.lime-background { background: lime; } |
| 397 | span.maroon-background { background: maroon; } |
| 398 | span.navy-background { background: navy; } |
| 399 | span.olive-background { background: olive; } |
| 400 | span.purple-background { background: purple; } |
| 401 | span.red-background { background: red; } |
| 402 | span.silver-background { background: silver; } |
| 403 | span.teal-background { background: teal; } |
| 404 | span.white-background { background: white; } |
| 405 | span.yellow-background { background: yellow; } |
| 406 | |
| 407 | span.big { font-size: 2em; } |
| 408 | span.small { font-size: 0.6em; } |
| 409 | |
| 410 | span.underline { text-decoration: underline; } |
| 411 | span.overline { text-decoration: overline; } |
| 412 | span.line-through { text-decoration: line-through; } |
| 413 | |
| 414 | div.unbreakable { page-break-inside: avoid; } |
| 415 | |
| 416 | |
| 417 | /* |
| 418 | * xhtml11 specific |
| 419 | * |
| 420 | * */ |
| 421 | |
| 422 | div.tableblock { |
| 423 | margin-top: 1.0em; |
| 424 | margin-bottom: 1.5em; |
| 425 | } |
| 426 | div.tableblock > table { |
| 427 | border: 3px solid #527bbd; |
| 428 | } |
| 429 | thead, p.table.header { |
| 430 | font-weight: bold; |
| 431 | color: #527bbd; |
| 432 | } |
| 433 | p.table { |
| 434 | margin-top: 0; |
| 435 | } |
| 436 | /* Because the table frame attribute is overriden by CSS in most browsers. */ |
| 437 | div.tableblock > table[frame="void"] { |
| 438 | border-style: none; |
| 439 | } |
| 440 | div.tableblock > table[frame="hsides"] { |
| 441 | border-left-style: none; |
| 442 | border-right-style: none; |
| 443 | } |
| 444 | div.tableblock > table[frame="vsides"] { |
| 445 | border-top-style: none; |
| 446 | border-bottom-style: none; |
| 447 | } |
| 448 | |
| 449 | |
| 450 | /* |
| 451 | * html5 specific |
| 452 | * |
| 453 | * */ |
| 454 | |
| 455 | table.tableblock { |
| 456 | margin-top: 1.0em; |
| 457 | margin-bottom: 1.5em; |
| 458 | } |
| 459 | thead, p.tableblock.header { |
| 460 | font-weight: bold; |
| 461 | color: #527bbd; |
| 462 | } |
| 463 | p.tableblock { |
| 464 | margin-top: 0; |
| 465 | } |
| 466 | table.tableblock { |
| 467 | border-width: 3px; |
| 468 | border-spacing: 0px; |
| 469 | border-style: solid; |
| 470 | border-color: #527bbd; |
| 471 | border-collapse: collapse; |
| 472 | } |
| 473 | th.tableblock, td.tableblock { |
| 474 | border-width: 1px; |
| 475 | padding: 4px; |
| 476 | border-style: solid; |
| 477 | border-color: #527bbd; |
| 478 | } |
| 479 | |
| 480 | table.tableblock.frame-topbot { |
| 481 | border-left-style: hidden; |
| 482 | border-right-style: hidden; |
| 483 | } |
| 484 | table.tableblock.frame-sides { |
| 485 | border-top-style: hidden; |
| 486 | border-bottom-style: hidden; |
| 487 | } |
| 488 | table.tableblock.frame-none { |
| 489 | border-style: hidden; |
| 490 | } |
| 491 | |
| 492 | th.tableblock.halign-left, td.tableblock.halign-left { |
| 493 | text-align: left; |
| 494 | } |
| 495 | th.tableblock.halign-center, td.tableblock.halign-center { |
| 496 | text-align: center; |
| 497 | } |
| 498 | th.tableblock.halign-right, td.tableblock.halign-right { |
| 499 | text-align: right; |
| 500 | } |
| 501 | |
| 502 | th.tableblock.valign-top, td.tableblock.valign-top { |
| 503 | vertical-align: top; |
| 504 | } |
| 505 | th.tableblock.valign-middle, td.tableblock.valign-middle { |
| 506 | vertical-align: middle; |
| 507 | } |
| 508 | th.tableblock.valign-bottom, td.tableblock.valign-bottom { |
| 509 | vertical-align: bottom; |
| 510 | } |
| 511 | |
| 512 | |
| 513 | /* |
| 514 | * manpage specific |
| 515 | * |
| 516 | * */ |
| 517 | |
| 518 | body.manpage h1 { |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 519 | padding-top: 0.5em; |
| 520 | padding-bottom: 0.5em; |
| 521 | border-top: 2px solid silver; |
| 522 | border-bottom: 2px solid silver; |
| 523 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 524 | body.manpage h2 { |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 525 | border-style: none; |
| 526 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 527 | body.manpage div.sectionbody { |
| 528 | margin-left: 3em; |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 529 | } |
| 530 | |
| 531 | @media print { |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 532 | body.manpage div#toc { display: none; } |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 533 | } |
| 534 | |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 535 | |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 536 | </style> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 537 | <script type="text/javascript"> |
| 538 | /*<![CDATA[*/ |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 539 | var asciidoc = { // Namespace. |
| 540 | |
| 541 | ///////////////////////////////////////////////////////////////////// |
| 542 | // Table Of Contents generator |
| 543 | ///////////////////////////////////////////////////////////////////// |
| 544 | |
| 545 | /* Author: Mihai Bazon, September 2002 |
| 546 | * http://students.infoiasi.ro/~mishoo |
| 547 | * |
| 548 | * Table Of Content generator |
| 549 | * Version: 0.4 |
| 550 | * |
| 551 | * Feel free to use this script under the terms of the GNU General Public |
| 552 | * License, as long as you do not remove or alter this notice. |
| 553 | */ |
| 554 | |
| 555 | /* modified by Troy D. Hanson, September 2006. License: GPL */ |
| 556 | /* modified by Stuart Rackham, 2006, 2009. License: GPL */ |
| 557 | |
| 558 | // toclevels = 1..4. |
| 559 | toc: function (toclevels) { |
| 560 | |
| 561 | function getText(el) { |
| 562 | var text = ""; |
| 563 | for (var i = el.firstChild; i != null; i = i.nextSibling) { |
| 564 | if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants. |
| 565 | text += i.data; |
| 566 | else if (i.firstChild != null) |
| 567 | text += getText(i); |
| 568 | } |
| 569 | return text; |
| 570 | } |
| 571 | |
| 572 | function TocEntry(el, text, toclevel) { |
| 573 | this.element = el; |
| 574 | this.text = text; |
| 575 | this.toclevel = toclevel; |
| 576 | } |
| 577 | |
| 578 | function tocEntries(el, toclevels) { |
| 579 | var result = new Array; |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 580 | var re = new RegExp('[hH]([1-'+(toclevels+1)+'])'); |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 581 | // Function that scans the DOM tree for header elements (the DOM2 |
| 582 | // nodeIterator API would be a better technique but not supported by all |
| 583 | // browsers). |
| 584 | var iterate = function (el) { |
| 585 | for (var i = el.firstChild; i != null; i = i.nextSibling) { |
| 586 | if (i.nodeType == 1 /* Node.ELEMENT_NODE */) { |
| 587 | var mo = re.exec(i.tagName); |
| 588 | if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") { |
| 589 | result[result.length] = new TocEntry(i, getText(i), mo[1]-1); |
| 590 | } |
| 591 | iterate(i); |
| 592 | } |
| 593 | } |
| 594 | } |
| 595 | iterate(el); |
| 596 | return result; |
| 597 | } |
| 598 | |
| 599 | var toc = document.getElementById("toc"); |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 600 | if (!toc) { |
| 601 | return; |
| 602 | } |
| 603 | |
| 604 | // Delete existing TOC entries in case we're reloading the TOC. |
| 605 | var tocEntriesToRemove = []; |
| 606 | var i; |
| 607 | for (i = 0; i < toc.childNodes.length; i++) { |
| 608 | var entry = toc.childNodes[i]; |
| 609 | if (entry.nodeName.toLowerCase() == 'div' |
| 610 | && entry.getAttribute("class") |
| 611 | && entry.getAttribute("class").match(/^toclevel/)) |
| 612 | tocEntriesToRemove.push(entry); |
| 613 | } |
| 614 | for (i = 0; i < tocEntriesToRemove.length; i++) { |
| 615 | toc.removeChild(tocEntriesToRemove[i]); |
| 616 | } |
| 617 | |
| 618 | // Rebuild TOC entries. |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 619 | var entries = tocEntries(document.getElementById("content"), toclevels); |
| 620 | for (var i = 0; i < entries.length; ++i) { |
| 621 | var entry = entries[i]; |
| 622 | if (entry.element.id == "") |
| 623 | entry.element.id = "_toc_" + i; |
| 624 | var a = document.createElement("a"); |
| 625 | a.href = "#" + entry.element.id; |
| 626 | a.appendChild(document.createTextNode(entry.text)); |
| 627 | var div = document.createElement("div"); |
| 628 | div.appendChild(a); |
| 629 | div.className = "toclevel" + entry.toclevel; |
| 630 | toc.appendChild(div); |
| 631 | } |
| 632 | if (entries.length == 0) |
| 633 | toc.parentNode.removeChild(toc); |
| 634 | }, |
| 635 | |
| 636 | |
| 637 | ///////////////////////////////////////////////////////////////////// |
| 638 | // Footnotes generator |
| 639 | ///////////////////////////////////////////////////////////////////// |
| 640 | |
| 641 | /* Based on footnote generation code from: |
| 642 | * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html |
| 643 | */ |
| 644 | |
| 645 | footnotes: function () { |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 646 | // Delete existing footnote entries in case we're reloading the footnodes. |
| 647 | var i; |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 648 | var noteholder = document.getElementById("footnotes"); |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 649 | if (!noteholder) { |
| 650 | return; |
| 651 | } |
| 652 | var entriesToRemove = []; |
| 653 | for (i = 0; i < noteholder.childNodes.length; i++) { |
| 654 | var entry = noteholder.childNodes[i]; |
| 655 | if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote") |
| 656 | entriesToRemove.push(entry); |
| 657 | } |
| 658 | for (i = 0; i < entriesToRemove.length; i++) { |
| 659 | noteholder.removeChild(entriesToRemove[i]); |
| 660 | } |
| 661 | |
| 662 | // Rebuild footnote entries. |
| 663 | var cont = document.getElementById("content"); |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 664 | var spans = cont.getElementsByTagName("span"); |
| 665 | var refs = {}; |
| 666 | var n = 0; |
| 667 | for (i=0; i<spans.length; i++) { |
| 668 | if (spans[i].className == "footnote") { |
| 669 | n++; |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 670 | var note = spans[i].getAttribute("data-note"); |
| 671 | if (!note) { |
| 672 | // Use [\s\S] in place of . so multi-line matches work. |
| 673 | // Because JavaScript has no s (dotall) regex flag. |
| 674 | note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1]; |
| 675 | spans[i].innerHTML = |
| 676 | "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n + |
| 677 | "' title='View footnote' class='footnote'>" + n + "</a>]"; |
| 678 | spans[i].setAttribute("data-note", note); |
| 679 | } |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 680 | noteholder.innerHTML += |
| 681 | "<div class='footnote' id='_footnote_" + n + "'>" + |
| 682 | "<a href='#_footnoteref_" + n + "' title='Return to text'>" + |
| 683 | n + "</a>. " + note + "</div>"; |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 684 | var id =spans[i].getAttribute("id"); |
| 685 | if (id != null) refs["#"+id] = n; |
| 686 | } |
| 687 | } |
| 688 | if (n == 0) |
| 689 | noteholder.parentNode.removeChild(noteholder); |
| 690 | else { |
| 691 | // Process footnoterefs. |
| 692 | for (i=0; i<spans.length; i++) { |
| 693 | if (spans[i].className == "footnoteref") { |
| 694 | var href = spans[i].getElementsByTagName("a")[0].getAttribute("href"); |
| 695 | href = href.match(/#.*/)[0]; // Because IE return full URL. |
| 696 | n = refs[href]; |
| 697 | spans[i].innerHTML = |
| 698 | "[<a href='#_footnote_" + n + |
| 699 | "' title='View footnote' class='footnote'>" + n + "</a>]"; |
| 700 | } |
| 701 | } |
| 702 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 703 | }, |
| 704 | |
| 705 | install: function(toclevels) { |
| 706 | var timerId; |
| 707 | |
| 708 | function reinstall() { |
| 709 | asciidoc.footnotes(); |
| 710 | if (toclevels) { |
| 711 | asciidoc.toc(toclevels); |
| 712 | } |
| 713 | } |
| 714 | |
| 715 | function reinstallAndRemoveTimer() { |
| 716 | clearInterval(timerId); |
| 717 | reinstall(); |
| 718 | } |
| 719 | |
| 720 | timerId = setInterval(reinstall, 500); |
| 721 | if (document.addEventListener) |
| 722 | document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false); |
| 723 | else |
| 724 | window.onload = reinstallAndRemoveTimer; |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 725 | } |
| 726 | |
| 727 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 728 | asciidoc.install(); |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 729 | /*]]>*/ |
| 730 | </script> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 731 | </head> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 732 | <body class="manpage"> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 733 | <div id="header"> |
| 734 | <h1> |
| 735 | git-blame(1) Manual Page |
| 736 | </h1> |
| 737 | <h2>NAME</h2> |
| 738 | <div class="sectionbody"> |
| 739 | <p>git-blame - |
Junio C Hamano | 6b2cee1 | 2006-08-26 08:43:31 | [diff] [blame] | 740 | Show what revision and author last modified each line of a file |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 741 | </p> |
| 742 | </div> |
| 743 | </div> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 744 | <div id="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 745 | <div class="sect1"> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 746 | <h2 id="_synopsis">SYNOPSIS</h2> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 747 | <div class="sectionbody"> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 748 | <div class="verseblock"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 749 | <pre class="content"><em>git blame</em> [-c] [-b] [-l] [--root] [-t] [-f] [-n] [-s] [-e] [-p] [-w] [--incremental] [-L n,m] |
Junio C Hamano | 209ebe8 | 2011-04-27 21:09:59 | [diff] [blame] | 750 | [-S <revs-file>] [-M] [-C] [-C] [-C] [--since=<date>] [--abbrev=<n>] |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 751 | [<rev> | --contents <file> | --reverse <rev>] [--] <file></pre> |
| 752 | <div class="attribution"> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 753 | </div></div> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 754 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 755 | </div> |
| 756 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 757 | <h2 id="_description">DESCRIPTION</h2> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 758 | <div class="sectionbody"> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 759 | <div class="paragraph"><p>Annotates each line in the given file with information from the revision which |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 760 | last modified the line. Optionally, start annotating from the given revision.</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 761 | <div class="paragraph"><p>The command can also limit the range of lines annotated.</p></div> |
Junio C Hamano | 6a8a848 | 2012-10-01 20:59:41 | [diff] [blame] | 762 | <div class="paragraph"><p>The origin of lines is automatically followed across whole-file |
| 763 | renames (currently there is no option to turn the rename-following |
| 764 | off). To follow lines moved from one file to another, or to follow |
| 765 | lines that were copied and pasted from another file, etc., see the |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 766 | <code>-C</code> and <code>-M</code> options.</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 767 | <div class="paragraph"><p>The report does not tell you anything about lines which have been deleted or |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 768 | replaced; you need to use a tool such as <em>git diff</em> or the "pickaxe" |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 769 | interface briefly mentioned in the following paragraph.</p></div> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 770 | <div class="paragraph"><p>Apart from supporting file annotation, Git also supports searching the |
Junio C Hamano | f9771f6 | 2007-01-17 17:42:30 | [diff] [blame] | 771 | development history for when a code snippet occurred in a change. This makes it |
Junio C Hamano | 6b2cee1 | 2006-08-26 08:43:31 | [diff] [blame] | 772 | possible to track when a code snippet was added to a file, moved or copied |
| 773 | between files, and eventually deleted or replaced. It works by searching for |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 774 | a text string in the diff. A small example:</p></div> |
Junio C Hamano | 6b2cee1 | 2006-08-26 08:43:31 | [diff] [blame] | 775 | <div class="listingblock"> |
| 776 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 777 | <pre><code>$ git log --pretty=oneline -S'blame_usage' |
Junio C Hamano | 6b2cee1 | 2006-08-26 08:43:31 | [diff] [blame] | 778 | 5040f17eba15504bad66b14a645bddd9b015ebb7 blame -S <ancestry-file> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 779 | ea4c7f9bf69e781dd0cd88d2bccb2bf5cc15c9a7 git-blame: Make the output</code></pre> |
Junio C Hamano | 6b2cee1 | 2006-08-26 08:43:31 | [diff] [blame] | 780 | </div></div> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 781 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 782 | </div> |
| 783 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 784 | <h2 id="_options">OPTIONS</h2> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 785 | <div class="sectionbody"> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 786 | <div class="dlist"><dl> |
| 787 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 788 | -b |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 789 | </dt> |
| 790 | <dd> |
| 791 | <p> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 792 | Show blank SHA-1 for boundary commits. This can also |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 793 | be controlled via the <code>blame.blankboundary</code> config option. |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 794 | </p> |
| 795 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 796 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 797 | --root |
| 798 | </dt> |
| 799 | <dd> |
| 800 | <p> |
| 801 | Do not treat root commits as boundaries. This can also be |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 802 | controlled via the <code>blame.showroot</code> config option. |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 803 | </p> |
| 804 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 805 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 806 | --show-stats |
| 807 | </dt> |
| 808 | <dd> |
| 809 | <p> |
| 810 | Include additional statistics at the end of blame output. |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 811 | </p> |
| 812 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 813 | <dt class="hdlist1"> |
Junio C Hamano | 9882a52 | 2007-04-27 08:22:22 | [diff] [blame] | 814 | -L <start>,<end> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 815 | </dt> |
| 816 | <dd> |
| 817 | <p> |
Junio C Hamano | 9882a52 | 2007-04-27 08:22:22 | [diff] [blame] | 818 | Annotate only the given line range. <start> and <end> can take |
| 819 | one of these forms: |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 820 | </p> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 821 | <div class="ulist"><ul> |
Junio C Hamano | 9882a52 | 2007-04-27 08:22:22 | [diff] [blame] | 822 | <li> |
| 823 | <p> |
| 824 | number |
| 825 | </p> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 826 | <div class="paragraph"><p>If <start> or <end> is a number, it specifies an |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 827 | absolute line number (lines count from 1).</p></div> |
Junio C Hamano | 9882a52 | 2007-04-27 08:22:22 | [diff] [blame] | 828 | </li> |
| 829 | <li> |
| 830 | <p> |
| 831 | /regex/ |
| 832 | </p> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 833 | <div class="paragraph"><p>This form will use the first line matching the given |
Junio C Hamano | 9882a52 | 2007-04-27 08:22:22 | [diff] [blame] | 834 | POSIX regex. If <end> is a regex, it will search |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 835 | starting at the line given by <start>.</p></div> |
Junio C Hamano | 9882a52 | 2007-04-27 08:22:22 | [diff] [blame] | 836 | </li> |
| 837 | <li> |
| 838 | <p> |
| 839 | +offset or -offset |
| 840 | </p> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 841 | <div class="paragraph"><p>This is only valid for <end> and will specify a number |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 842 | of lines before or after the line given by <start>.</p></div> |
Junio C Hamano | 9882a52 | 2007-04-27 08:22:22 | [diff] [blame] | 843 | </li> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 844 | </ul></div> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 845 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 846 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 847 | -l |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 848 | </dt> |
| 849 | <dd> |
| 850 | <p> |
Junio C Hamano | 3fd90c8 | 2006-06-18 00:22:01 | [diff] [blame] | 851 | Show long rev (Default: off). |
| 852 | </p> |
| 853 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 854 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 855 | -t |
Junio C Hamano | 3fd90c8 | 2006-06-18 00:22:01 | [diff] [blame] | 856 | </dt> |
| 857 | <dd> |
| 858 | <p> |
| 859 | Show raw timestamp (Default: off). |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 860 | </p> |
| 861 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 862 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 863 | -S <revs-file> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 864 | </dt> |
| 865 | <dd> |
| 866 | <p> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 867 | Use revisions from revs-file instead of calling <a href="git-rev-list.html">git-rev-list(1)</a>. |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 868 | </p> |
| 869 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 870 | <dt class="hdlist1"> |
Junio C Hamano | a6455f6 | 2009-02-20 08:33:08 | [diff] [blame] | 871 | --reverse |
| 872 | </dt> |
| 873 | <dd> |
| 874 | <p> |
| 875 | Walk history forward instead of backward. Instead of showing |
| 876 | the revision in which a line appeared, this shows the last |
| 877 | revision in which a line has existed. This requires a range of |
| 878 | revision like START..END where the path to blame exists in |
| 879 | START. |
| 880 | </p> |
| 881 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 882 | <dt class="hdlist1"> |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 883 | -p |
| 884 | </dt> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 885 | <dt class="hdlist1"> |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 886 | --porcelain |
Junio C Hamano | ff4b431 | 2006-10-25 22:55:31 | [diff] [blame] | 887 | </dt> |
| 888 | <dd> |
| 889 | <p> |
| 890 | Show in a format designed for machine consumption. |
| 891 | </p> |
| 892 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 893 | <dt class="hdlist1"> |
Junio C Hamano | 2a294cd | 2011-05-23 23:06:31 | [diff] [blame] | 894 | --line-porcelain |
| 895 | </dt> |
| 896 | <dd> |
| 897 | <p> |
| 898 | Show the porcelain format, but output commit information for |
| 899 | each line, not just the first time a commit is referenced. |
| 900 | Implies --porcelain. |
| 901 | </p> |
| 902 | </dd> |
| 903 | <dt class="hdlist1"> |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 904 | --incremental |
| 905 | </dt> |
| 906 | <dd> |
| 907 | <p> |
| 908 | Show the result incrementally in a format designed for |
| 909 | machine consumption. |
| 910 | </p> |
| 911 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 912 | <dt class="hdlist1"> |
Junio C Hamano | aa17c7c | 2008-11-03 04:36:58 | [diff] [blame] | 913 | --encoding=<encoding> |
| 914 | </dt> |
| 915 | <dd> |
| 916 | <p> |
| 917 | Specifies the encoding used to output author names |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 918 | and commit summaries. Setting it to <code>none</code> makes blame |
Junio C Hamano | aa17c7c | 2008-11-03 04:36:58 | [diff] [blame] | 919 | output unconverted data. For more information see the |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 920 | discussion about encoding in the <a href="git-log.html">git-log(1)</a> |
Junio C Hamano | aa17c7c | 2008-11-03 04:36:58 | [diff] [blame] | 921 | manual page. |
| 922 | </p> |
| 923 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 924 | <dt class="hdlist1"> |
Junio C Hamano | 42f855f | 2007-02-06 00:09:38 | [diff] [blame] | 925 | --contents <file> |
| 926 | </dt> |
| 927 | <dd> |
| 928 | <p> |
| 929 | When <rev> is not specified, the command annotates the |
| 930 | changes starting backwards from the working tree copy. |
| 931 | This flag makes the command pretend as if the working |
Junio C Hamano | 49dccaf | 2008-02-10 10:48:01 | [diff] [blame] | 932 | tree copy has the contents of the named file (specify |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 933 | <code>-</code> to make the command read from the standard input). |
Junio C Hamano | 42f855f | 2007-02-06 00:09:38 | [diff] [blame] | 934 | </p> |
| 935 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 936 | <dt class="hdlist1"> |
Junio C Hamano | ea6a764 | 2009-03-11 23:56:19 | [diff] [blame] | 937 | --date <format> |
| 938 | </dt> |
| 939 | <dd> |
| 940 | <p> |
| 941 | The value is one of the following alternatives: |
| 942 | {relative,local,default,iso,rfc,short}. If --date is not |
| 943 | provided, the value of the blame.date config variable is |
| 944 | used. If the blame.date config variable is also not set, the |
| 945 | iso format is used. For more information, See the discussion |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 946 | of the --date option at <a href="git-log.html">git-log(1)</a>. |
Junio C Hamano | ea6a764 | 2009-03-11 23:56:19 | [diff] [blame] | 947 | </p> |
| 948 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 949 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 950 | -M|<num>| |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 951 | </dt> |
| 952 | <dd> |
| 953 | <p> |
Junio C Hamano | 0e8c0b0 | 2010-04-12 15:45:55 | [diff] [blame] | 954 | Detect moved or copied lines within a file. When a commit |
| 955 | moves or copies a block of lines (e.g. the original file |
| 956 | has A and then B, and the commit changes it to B and then |
| 957 | A), the traditional <em>blame</em> algorithm notices only half of |
| 958 | the movement and typically blames the lines that were moved |
| 959 | up (i.e. B) to the parent and assigns blame to the lines that |
| 960 | were moved down (i.e. A) to the child commit. With this |
| 961 | option, both groups of lines are blamed on the parent by |
| 962 | running extra passes of inspection. |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 963 | </p> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 964 | <div class="paragraph"><p><num> is optional but it is the lower bound on the number of |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 965 | alphanumeric characters that Git must detect as moving/copying |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 966 | within a file for it to associate those lines with the parent |
Junio C Hamano | cc7636a | 2010-05-21 14:57:53 | [diff] [blame] | 967 | commit. The default value is 20.</p></div> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 968 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 969 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 970 | -C|<num>| |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 971 | </dt> |
| 972 | <dd> |
| 973 | <p> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 974 | In addition to <code>-M</code>, detect lines moved or copied from other |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 975 | files that were modified in the same commit. This is |
| 976 | useful when you reorganize your program and move code |
| 977 | around across files. When this option is given twice, |
Junio C Hamano | 5ca1dd1 | 2010-01-17 02:44:04 | [diff] [blame] | 978 | the command additionally looks for copies from other |
| 979 | files in the commit that creates the file. When this |
| 980 | option is given three times, the command additionally |
| 981 | looks for copies from other files in any commit. |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 982 | </p> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 983 | <div class="paragraph"><p><num> is optional but it is the lower bound on the number of |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 984 | alphanumeric characters that Git must detect as moving/copying |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 985 | between files for it to associate those lines with the parent |
Junio C Hamano | cc7636a | 2010-05-21 14:57:53 | [diff] [blame] | 986 | commit. And the default value is 40. If there are more than one |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 987 | <code>-C</code> options given, the <num> argument of the last <code>-C</code> will |
Junio C Hamano | cc7636a | 2010-05-21 14:57:53 | [diff] [blame] | 988 | take effect.</p></div> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 989 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 990 | <dt class="hdlist1"> |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 991 | -h |
| 992 | </dt> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 993 | <dd> |
| 994 | <p> |
| 995 | Show help message. |
| 996 | </p> |
| 997 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 998 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 999 | -c |
| 1000 | </dt> |
| 1001 | <dd> |
| 1002 | <p> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1003 | Use the same output mode as <a href="git-annotate.html">git-annotate(1)</a> (Default: off). |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 1004 | </p> |
| 1005 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1006 | <dt class="hdlist1"> |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 1007 | --score-debug |
| 1008 | </dt> |
| 1009 | <dd> |
| 1010 | <p> |
| 1011 | Include debugging information related to the movement of |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1012 | lines between files (see <code>-C</code>) and lines moved within a |
| 1013 | file (see <code>-M</code>). The first number listed is the score. |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 1014 | This is the number of alphanumeric characters detected |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1015 | as having been moved between or within files. This must be above |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 1016 | a certain threshold for <em>git blame</em> to consider those lines |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 1017 | of code to have been moved. |
| 1018 | </p> |
| 1019 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1020 | <dt class="hdlist1"> |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 1021 | -f |
| 1022 | </dt> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1023 | <dt class="hdlist1"> |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 1024 | --show-name |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 1025 | </dt> |
| 1026 | <dd> |
| 1027 | <p> |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1028 | Show the filename in the original commit. By default |
| 1029 | the filename is shown if there is any line that came from a |
| 1030 | file with a different name, due to rename detection. |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 1031 | </p> |
| 1032 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1033 | <dt class="hdlist1"> |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 1034 | -n |
| 1035 | </dt> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1036 | <dt class="hdlist1"> |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 1037 | --show-number |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 1038 | </dt> |
| 1039 | <dd> |
| 1040 | <p> |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1041 | Show the line number in the original commit (Default: off). |
Junio C Hamano | 0e3cb53 | 2007-04-17 08:28:11 | [diff] [blame] | 1042 | </p> |
| 1043 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1044 | <dt class="hdlist1"> |
Junio C Hamano | 469d60e | 2007-04-29 18:30:34 | [diff] [blame] | 1045 | -s |
| 1046 | </dt> |
| 1047 | <dd> |
| 1048 | <p> |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1049 | Suppress the author name and timestamp from the output. |
Junio C Hamano | 469d60e | 2007-04-29 18:30:34 | [diff] [blame] | 1050 | </p> |
| 1051 | </dd> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1052 | <dt class="hdlist1"> |
| 1053 | -e |
| 1054 | </dt> |
| 1055 | <dt class="hdlist1"> |
| 1056 | --show-email |
| 1057 | </dt> |
| 1058 | <dd> |
| 1059 | <p> |
| 1060 | Show the author email instead of author name (Default: off). |
| 1061 | </p> |
| 1062 | </dd> |
| 1063 | <dt class="hdlist1"> |
Junio C Hamano | 9e52d4e | 2007-06-13 08:29:33 | [diff] [blame] | 1064 | -w |
| 1065 | </dt> |
| 1066 | <dd> |
| 1067 | <p> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1068 | Ignore whitespace when comparing the parent’s version and |
| 1069 | the child’s to find where the lines came from. |
Junio C Hamano | 9e52d4e | 2007-06-13 08:29:33 | [diff] [blame] | 1070 | </p> |
| 1071 | </dd> |
Junio C Hamano | 209ebe8 | 2011-04-27 21:09:59 | [diff] [blame] | 1072 | <dt class="hdlist1"> |
| 1073 | --abbrev=<n> |
| 1074 | </dt> |
| 1075 | <dd> |
| 1076 | <p> |
| 1077 | Instead of using the default 7+1 hexadecimal digits as the |
| 1078 | abbreviated object name, use <n>+1 digits. Note that 1 column |
| 1079 | is used for a caret to mark the boundary commit. |
| 1080 | </p> |
| 1081 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1082 | </dl></div> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 1083 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1084 | </div> |
| 1085 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1086 | <h2 id="_the_porcelain_format">THE PORCELAIN FORMAT</h2> |
Junio C Hamano | ff4b431 | 2006-10-25 22:55:31 | [diff] [blame] | 1087 | <div class="sectionbody"> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1088 | <div class="paragraph"><p>In this format, each line is output after a header; the |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1089 | header at the minimum has the first line which has:</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1090 | <div class="ulist"><ul> |
Junio C Hamano | ff4b431 | 2006-10-25 22:55:31 | [diff] [blame] | 1091 | <li> |
| 1092 | <p> |
| 1093 | 40-byte SHA-1 of the commit the line is attributed to; |
| 1094 | </p> |
| 1095 | </li> |
| 1096 | <li> |
| 1097 | <p> |
| 1098 | the line number of the line in the original file; |
| 1099 | </p> |
| 1100 | </li> |
| 1101 | <li> |
| 1102 | <p> |
| 1103 | the line number of the line in the final file; |
| 1104 | </p> |
| 1105 | </li> |
| 1106 | <li> |
| 1107 | <p> |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1108 | on a line that starts a group of lines from a different |
Junio C Hamano | ff4b431 | 2006-10-25 22:55:31 | [diff] [blame] | 1109 | commit than the previous one, the number of lines in this |
| 1110 | group. On subsequent lines this field is absent. |
| 1111 | </p> |
| 1112 | </li> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1113 | </ul></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1114 | <div class="paragraph"><p>This header line is followed by the following information |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1115 | at least once for each commit:</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1116 | <div class="ulist"><ul> |
Junio C Hamano | ff4b431 | 2006-10-25 22:55:31 | [diff] [blame] | 1117 | <li> |
| 1118 | <p> |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1119 | the author name ("author"), email ("author-mail"), time |
Junio C Hamano | ff4b431 | 2006-10-25 22:55:31 | [diff] [blame] | 1120 | ("author-time"), and timezone ("author-tz"); similarly |
| 1121 | for committer. |
| 1122 | </p> |
| 1123 | </li> |
| 1124 | <li> |
| 1125 | <p> |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1126 | the filename in the commit that the line is attributed to. |
Junio C Hamano | ff4b431 | 2006-10-25 22:55:31 | [diff] [blame] | 1127 | </p> |
| 1128 | </li> |
| 1129 | <li> |
| 1130 | <p> |
| 1131 | the first line of the commit log message ("summary"). |
| 1132 | </p> |
| 1133 | </li> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1134 | </ul></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1135 | <div class="paragraph"><p>The contents of the actual line is output after the above |
Junio C Hamano | ff4b431 | 2006-10-25 22:55:31 | [diff] [blame] | 1136 | header, prefixed by a TAB. This is to allow adding more |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1137 | header elements later.</p></div> |
Junio C Hamano | 2a294cd | 2011-05-23 23:06:31 | [diff] [blame] | 1138 | <div class="paragraph"><p>The porcelain format generally suppresses commit information that has |
| 1139 | already been seen. For example, two lines that are blamed to the same |
| 1140 | commit will both be shown, but the details for that commit will be shown |
| 1141 | only once. This is more efficient, but may require more state be kept by |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1142 | the reader. The <code>--line-porcelain</code> option can be used to output full |
Junio C Hamano | 2a294cd | 2011-05-23 23:06:31 | [diff] [blame] | 1143 | commit information for each line, allowing simpler (but less efficient) |
| 1144 | usage like:</p></div> |
| 1145 | <div class="literalblock"> |
| 1146 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1147 | <pre><code># count the number of lines attributed to each author |
Junio C Hamano | 2a294cd | 2011-05-23 23:06:31 | [diff] [blame] | 1148 | git blame --line-porcelain file | |
| 1149 | sed -n 's/^author //p' | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1150 | sort | uniq -c | sort -rn</code></pre> |
Junio C Hamano | 2a294cd | 2011-05-23 23:06:31 | [diff] [blame] | 1151 | </div></div> |
Junio C Hamano | ff4b431 | 2006-10-25 22:55:31 | [diff] [blame] | 1152 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1153 | </div> |
| 1154 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1155 | <h2 id="_specifying_ranges">SPECIFYING RANGES</h2> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1156 | <div class="sectionbody"> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1157 | <div class="paragraph"><p>Unlike <em>git blame</em> and <em>git annotate</em> in older versions of git, the extent |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1158 | of the annotation can be limited to both line ranges and revision |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1159 | ranges. When you are interested in finding the origin for |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1160 | lines 40-60 for file <code>foo</code>, you can use the <code>-L</code> option like so |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1161 | (they mean the same thing — both ask for 21 lines starting at |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1162 | line 40):</p></div> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1163 | <div class="literalblock"> |
| 1164 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1165 | <pre><code>git blame -L 40,60 foo |
| 1166 | git blame -L 40,+21 foo</code></pre> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1167 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1168 | <div class="paragraph"><p>Also you can use a regular expression to specify the line range:</p></div> |
Junio C Hamano | 4a345d2 | 2006-11-09 18:45:32 | [diff] [blame] | 1169 | <div class="literalblock"> |
| 1170 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1171 | <pre><code>git blame -L '/^sub hello {/,/^}$/' foo</code></pre> |
Junio C Hamano | 4a345d2 | 2006-11-09 18:45:32 | [diff] [blame] | 1172 | </div></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1173 | <div class="paragraph"><p>which limits the annotation to the body of the <code>hello</code> subroutine.</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1174 | <div class="paragraph"><p>When you are not interested in changes older than version |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1175 | v2.6.18, or changes older than 3 weeks, you can use revision |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 1176 | range specifiers similar to <em>git rev-list</em>:</p></div> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1177 | <div class="literalblock"> |
| 1178 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1179 | <pre><code>git blame v2.6.18.. -- foo |
| 1180 | git blame --since=3.weeks -- foo</code></pre> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1181 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1182 | <div class="paragraph"><p>When revision range specifiers are used to limit the annotation, |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1183 | lines that have not changed since the range boundary (either the |
| 1184 | commit v2.6.18 or the most recent commit that is more than 3 |
| 1185 | weeks old in the above example) are blamed for that range |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1186 | boundary commit.</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1187 | <div class="paragraph"><p>A particularly useful way is to see if an added file has lines |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1188 | created by copy-and-paste from existing files. Sometimes this |
| 1189 | indicates that the developer was being sloppy and did not |
| 1190 | refactor the code properly. You can first find the commit that |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1191 | introduced the file with:</p></div> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1192 | <div class="literalblock"> |
| 1193 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1194 | <pre><code>git log --diff-filter=A --pretty=short -- foo</code></pre> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1195 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1196 | <div class="paragraph"><p>and then annotate the change between the commit and its |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1197 | parents, using <code>commit^!</code> notation:</p></div> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1198 | <div class="literalblock"> |
| 1199 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1200 | <pre><code>git blame -C -C -f $commit^! -- foo</code></pre> |
Junio C Hamano | e1aa747 | 2006-11-09 07:37:50 | [diff] [blame] | 1201 | </div></div> |
| 1202 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1203 | </div> |
| 1204 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1205 | <h2 id="_incremental_output">INCREMENTAL OUTPUT</h2> |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1206 | <div class="sectionbody"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1207 | <div class="paragraph"><p>When called with <code>--incremental</code> option, the command outputs the |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1208 | result as it is built. The output generally will talk about |
| 1209 | lines touched by more recent commits first (i.e. the lines will |
| 1210 | be annotated out of order) and is meant to be used by |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1211 | interactive viewers.</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1212 | <div class="paragraph"><p>The output format is similar to the Porcelain format, but it |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1213 | does not contain the actual lines from the file that is being |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1214 | annotated.</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1215 | <div class="olist arabic"><ol class="arabic"> |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1216 | <li> |
| 1217 | <p> |
| 1218 | Each blame entry always starts with a line of: |
| 1219 | </p> |
| 1220 | <div class="literalblock"> |
| 1221 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1222 | <pre><code><40-byte hex sha1> <sourceline> <resultline> <num_lines></code></pre> |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1223 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1224 | <div class="paragraph"><p>Line numbers count from 1.</p></div> |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1225 | </li> |
| 1226 | <li> |
| 1227 | <p> |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1228 | The first time that a commit shows up in the stream, it has various |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1229 | other information about it printed out with a one-word tag at the |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1230 | beginning of each line describing the extra commit information (author, |
| 1231 | email, committer, dates, summary, etc.). |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1232 | </p> |
| 1233 | </li> |
| 1234 | <li> |
| 1235 | <p> |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1236 | Unlike the Porcelain format, the filename information is always |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1237 | given and terminates the entry: |
| 1238 | </p> |
| 1239 | <div class="literalblock"> |
| 1240 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1241 | <pre><code>"filename" <whitespace-quoted-filename-goes-here></code></pre> |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1242 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1243 | <div class="paragraph"><p>and thus it is really quite easy to parse for some line- and word-oriented |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1244 | parser (which should be quite natural for most scripting languages).</p></div> |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1245 | <div class="admonitionblock"> |
| 1246 | <table><tr> |
| 1247 | <td class="icon"> |
| 1248 | <div class="title">Note</div> |
| 1249 | </td> |
| 1250 | <td class="content">For people who do parsing: to make it more robust, just ignore any |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1251 | lines between the first and last one ("<sha1>" and "filename" lines) |
| 1252 | where you do not recognize the tag words (or care about that particular |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1253 | one) at the beginning of the "extended information" lines. That way, if |
| 1254 | there is ever added information (like the commit encoding or extended |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1255 | commit commentary), a blame viewer will not care.</td> |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1256 | </tr></table> |
| 1257 | </div> |
| 1258 | </li> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1259 | </ol></div> |
Junio C Hamano | 5a70233 | 2007-01-28 20:55:22 | [diff] [blame] | 1260 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1261 | </div> |
| 1262 | <div class="sect1"> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1263 | <h2 id="_mapping_authors">MAPPING AUTHORS</h2> |
| 1264 | <div class="sectionbody"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1265 | <div class="paragraph"><p>If the file <code>.mailmap</code> exists at the toplevel of the repository, or at |
Junio C Hamano | abad6da | 2013-01-06 09:06:32 | [diff] [blame] | 1266 | the location pointed to by the mailmap.file or mailmap.blob |
| 1267 | configuration options, it |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1268 | is used to map author and committer names and email addresses to |
| 1269 | canonical real names and email addresses.</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1270 | <div class="paragraph"><p>In the simple form, each line in the file consists of the canonical |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1271 | real name of an author, whitespace, and an email address used in the |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1272 | commit (enclosed by <em><</em> and <em>></em>) to map to the name. For example:</p></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1273 | <div class="openblock"> |
| 1274 | <div class="content"> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1275 | <div class="literalblock"> |
| 1276 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1277 | <pre><code>Proper Name <commit@email.xx></code></pre> |
| 1278 | </div></div> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1279 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1280 | <div class="paragraph"><p>The more complex forms are:</p></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1281 | <div class="openblock"> |
| 1282 | <div class="content"> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1283 | <div class="literalblock"> |
| 1284 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1285 | <pre><code><proper@email.xx> <commit@email.xx></code></pre> |
| 1286 | </div></div> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1287 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1288 | <div class="paragraph"><p>which allows mailmap to replace only the email part of a commit, and:</p></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1289 | <div class="openblock"> |
| 1290 | <div class="content"> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1291 | <div class="literalblock"> |
| 1292 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1293 | <pre><code>Proper Name <proper@email.xx> <commit@email.xx></code></pre> |
| 1294 | </div></div> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1295 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1296 | <div class="paragraph"><p>which allows mailmap to replace both the name and the email of a |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1297 | commit matching the specified commit email address, and:</p></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1298 | <div class="openblock"> |
| 1299 | <div class="content"> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1300 | <div class="literalblock"> |
| 1301 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1302 | <pre><code>Proper Name <proper@email.xx> Commit Name <commit@email.xx></code></pre> |
| 1303 | </div></div> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1304 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1305 | <div class="paragraph"><p>which allows mailmap to replace both the name and the email of a |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1306 | commit matching both the specified commit name and email address.</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1307 | <div class="paragraph"><p>Example 1: Your history contains commits by two authors, Jane |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1308 | and Joe, whose names appear in the repository under several forms:</p></div> |
| 1309 | <div class="listingblock"> |
| 1310 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1311 | <pre><code>Joe Developer <joe@example.com> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1312 | Joe R. Developer <joe@example.com> |
| 1313 | Jane Doe <jane@example.com> |
| 1314 | Jane Doe <jane@laptop.(none)> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1315 | Jane D. <jane@desktop.(none)></code></pre> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1316 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1317 | <div class="paragraph"><p>Now suppose that Joe wants his middle name initial used, and Jane |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1318 | prefers her family name fully spelled out. A proper <code>.mailmap</code> file |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1319 | would look like:</p></div> |
| 1320 | <div class="listingblock"> |
| 1321 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1322 | <pre><code>Jane Doe <jane@desktop.(none)> |
| 1323 | Joe R. Developer <joe@example.com></code></pre> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1324 | </div></div> |
Junio C Hamano | db81b99 | 2012-12-21 23:49:12 | [diff] [blame] | 1325 | <div class="paragraph"><p>Note how there is no need for an entry for <code><jane@laptop.(none)></code>, because the |
Junio C Hamano | fd83b8e | 2009-03-22 08:21:41 | [diff] [blame] | 1326 | real name of that author is already correct.</p></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1327 | <div class="paragraph"><p>Example 2: Your repository contains commits from the following |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1328 | authors:</p></div> |
| 1329 | <div class="listingblock"> |
| 1330 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1331 | <pre><code>nick1 <bugs@company.xx> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1332 | nick2 <bugs@company.xx> |
| 1333 | nick2 <nick2@company.xx> |
| 1334 | santa <me@company.xx> |
| 1335 | claus <me@company.xx> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1336 | CTO <cto@coompany.xx></code></pre> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1337 | </div></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1338 | <div class="paragraph"><p>Then you might want a <code>.mailmap</code> file that looks like:</p></div> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1339 | <div class="listingblock"> |
| 1340 | <div class="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1341 | <pre><code><cto@company.xx> <cto@coompany.xx> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1342 | Some Dude <some@dude.xx> nick1 <bugs@company.xx> |
| 1343 | Other Author <other@author.xx> nick2 <bugs@company.xx> |
| 1344 | Other Author <other@author.xx> <nick2@company.xx> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1345 | Santa Claus <santa.claus@northpole.xx> <me@company.xx></code></pre> |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1346 | </div></div> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 1347 | <div class="paragraph"><p>Use hash <em>#</em> for comments that are either on their own line, or after |
Junio C Hamano | 8bc410e | 2009-02-15 10:38:19 | [diff] [blame] | 1348 | the email address.</p></div> |
| 1349 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1350 | </div> |
| 1351 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1352 | <h2 id="_see_also">SEE ALSO</h2> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 1353 | <div class="sectionbody"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1354 | <div class="paragraph"><p><a href="git-annotate.html">git-annotate(1)</a></p></div> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 1355 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1356 | </div> |
| 1357 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1358 | <h2 id="_git">GIT</h2> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 1359 | <div class="sectionbody"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1360 | <div class="paragraph"><p>Part of the <a href="git.html">git(1)</a> suite</p></div> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 1361 | </div> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 1362 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1363 | </div> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 1364 | <div id="footnotes"><hr /></div> |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 1365 | <div id="footer"> |
| 1366 | <div id="footer-text"> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1367 | Last updated 2013-02-05 21:07:26 PST |
Junio C Hamano | b33fb4f | 2006-04-18 21:30:51 | [diff] [blame] | 1368 | </div> |
| 1369 | </div> |
| 1370 | </body> |
| 1371 | </html> |