33< html xmlns ="http://www.w3.org/1999/xhtml " xml:lang ="en ">
44< head >
55< meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 " />
6- < meta name ="generator " content ="AsciiDoc 8.2.5 " />
6+ < meta name ="generator " content ="AsciiDoc 8.4.5 " />
7+ < title > git-check-ref-format(1)</ title >
78< style type ="text/css ">
89/* Debug borders */
910p , li , dt , dd , div , pre , h1 , h2 , h3 , h4 , h5 , h6 {
2627
2728em {
2829 font-style : italic;
30+ color : navy;
2931}
3032
3133strong {
3234 font-weight : bold;
35+ color : # 083194 ;
3336}
3437
3538tt {
7174 margin-bottom : 0.5em ;
7275}
7376
77+ ul , ol , li > p {
78+ margin-top : 0 ;
79+ }
80+
7481pre {
7582 padding : 0 ;
7683 margin : 0 ;
8491}
8592span # email {
8693}
87- span # revision {
94+ span # revnumber , span # revdate , span # revremark {
8895 font-family : sans-serif;
8996}
9097
104111 padding-bottom : 0.5em ;
105112}
106113
107- div # preamble ,
114+ div # preamble {
115+ margin-top : 1.5em ;
116+ margin-bottom : 1.5em ;
117+ }
108118div .tableblock , div .imageblock , div .exampleblock , div .verseblock ,
109119div .quoteblock , div .literalblock , div .listingblock , div .sidebarblock ,
110120div .admonitionblock {
111- margin-right : 10% ;
112121 margin-top : 1.5em ;
113122 margin-bottom : 1.5em ;
114123}
123132
124133/* Block element titles. */
125134div .title , caption .title {
135+ color : # 527bbd ;
126136 font-family : sans-serif;
127137 font-weight : bold;
128138 text-align : left;
149159 padding : 0.5em ;
150160}
151161
152- div .listingblock {
153- margin-right : 0% ;
154- }
155162div .listingblock > div .content {
156163 border : 1px solid silver;
157164 background : # f4f4f4 ;
158165 padding : 0.5em ;
159166}
160167
161- div .quoteblock > div . content {
168+ div .quoteblock {
162169 padding-left : 2.0em ;
170+ margin-right : 10% ;
163171}
164-
165- div . attribution {
172+ div . quoteblock > div . attribution {
173+ padding-top : 0.5 em ;
166174 text-align : right;
167175}
176+
177+ div .verseblock {
178+ padding-left : 2.0em ;
179+ margin-right : 10% ;
180+ }
181+ div .verseblock > div .content {
182+ white-space : pre;
183+ }
184+ div .verseblock > div .attribution {
185+ padding-top : 0.75em ;
186+ text-align : left;
187+ }
188+ /* DEPRECATED: Pre version 8.2.7 verse style literal block. */
168189div .verseblock + div .attribution {
169190 text-align : left;
170191}
187208 padding : 0.5em ;
188209}
189210
190- div .verseblock div .content {
191- white-space : pre;
192- }
193-
194211div .imageblock div .content { padding-left : 0 ; }
195- div .imageblock img { border : 1px solid silver; }
196212span .image img { border-style : none; }
213+ a .image : visited { color : white; }
197214
198215dl {
199216 margin-top : 0.8em ;
202219dt {
203220 margin-top : 0.5em ;
204221 margin-bottom : 0 ;
205- font-style : italic;
222+ font-style : normal;
223+ color : navy;
206224}
207225dd > * : first-child {
208- margin-top : 0 ;
226+ margin-top : 0.1 em ;
209227}
210228
211229ul , ol {
212230 list-style-position : outside;
213231}
214- div .olist2 ol {
232+ ol .arabic {
233+ list-style-type : decimal;
234+ }
235+ ol .loweralpha {
215236 list-style-type : lower-alpha;
216237}
238+ ol .upperalpha {
239+ list-style-type : upper-alpha;
240+ }
241+ ol .lowerroman {
242+ list-style-type : lower-roman;
243+ }
244+ ol .upperroman {
245+ list-style-type : upper-roman;
246+ }
247+
248+ div .compact ul , div .compact ol ,
249+ div .compact p , div .compact p ,
250+ div .compact div , div .compact div {
251+ margin-top : 0.1em ;
252+ margin-bottom : 0.1em ;
253+ }
217254
218255div .tableblock > table {
219256 border : 3px solid # 527bbd ;
225262tfoot {
226263 font-weight : bold;
227264}
265+ td > div .verse {
266+ white-space : pre;
267+ }
268+ p .table {
269+ margin-top : 0 ;
270+ }
271+ /* Because the table frame attribute is overriden by CSS in most browsers. */
272+ div .tableblock > table [frame = "void" ] {
273+ border-style : none;
274+ }
275+ div .tableblock > table [frame = "hsides" ] {
276+ border-left-style : none;
277+ border-right-style : none;
278+ }
279+ div .tableblock > table [frame = "vsides" ] {
280+ border-top-style : none;
281+ border-bottom-style : none;
282+ }
283+
228284
229- div .hlist {
285+ div .hdlist {
230286 margin-top : 0.8em ;
231287 margin-bottom : 0.8em ;
232288}
233- div .hlist td {
234- padding-bottom : 5 px ;
289+ div .hdlist tr {
290+ padding-bottom : 15 px ;
235291}
236- td .hlist1 {
292+ dt .hdlist1 .strong , td .hdlist1 .strong {
293+ font-weight : bold;
294+ }
295+ td .hdlist1 {
237296 vertical-align : top;
238- font-style : italic ;
297+ font-style : normal ;
239298 padding-right : 0.8em ;
299+ color : navy;
240300}
241- td .hlist2 {
301+ td .hdlist2 {
242302 vertical-align : top;
243303}
304+ div .hdlist .compact tr {
305+ margin : 0 ;
306+ padding-bottom : 0 ;
307+ }
308+
309+ .comment {
310+ background : yellow;
311+ }
244312
245313@media print {
246314 div # footer-badges { display : none; }
271339 margin-left : 6em ;
272340 font-size : 0.9em ;
273341}
274- include1 ::./ stylesheets/ xhtml11- manpage.css []
342+ /* Overrides for manpage documents */
343+ h1 {
344+ padding-top : 0.5em ;
345+ padding-bottom : 0.5em ;
346+ border-top : 2px solid silver;
347+ border-bottom : 2px solid silver;
348+ }
349+ h2 {
350+ border-style : none;
351+ }
352+ div .sectionbody {
353+ margin-left : 5% ;
354+ }
355+
356+ @media print {
357+ div # toc { display : none; }
358+ }
359+
275360/* Workarounds for IE6's broken and incomplete CSS2. */
276361
277362div .sidebar-content {
280365 padding : 0.5em ;
281366}
282367div .sidebar-title , div .image-title {
368+ color : # 527bbd ;
283369 font-family : sans-serif;
284370 font-weight : bold;
285371 margin-top : 0.0em ;
292378 padding : 0.5em ;
293379}
294380
295- div .quoteblock-content {
296- padding-left : 2.0em ;
381+ div .quoteblock-attribution {
382+ padding-top : 0.5em ;
383+ text-align : right;
384+ }
385+
386+ div .verseblock-content {
387+ white-space : pre;
388+ }
389+ div .verseblock-attribution {
390+ padding-top : 0.75em ;
391+ text-align : left;
297392}
298393
299394div .exampleblock-content {
304399/* IE6 sets dynamically generated links as visited. */
305400div # toc a : visited { color : blue; }
306401</ style >
307- < title > git-check-ref-format(1)</ title >
308402</ head >
309403< body >
310404< div id ="header ">
@@ -318,23 +412,25 @@ <h2>NAME</h2>
318412</ p >
319413</ div >
320414</ div >
321- < h2 > SYNOPSIS</ h2 >
415+ < h2 id =" _synopsis " > SYNOPSIS</ h2 >
322416< div class ="sectionbody ">
323417< div class ="verseblock ">
324- < div class ="content "> < em > git check-ref-format</ em > <refname>
418+ < div class ="verseblock- content "> < em > git check-ref-format</ em > <refname>
325419< em > git check-ref-format</ em > --print <refname>
326- < em > git check-ref-format</ em > --branch <branchname-shorthand></ div > </ div >
420+ < em > git check-ref-format</ em > --branch <branchname-shorthand></ div >
421+ < div class ="verseblock-attribution ">
422+ </ div > </ div >
327423</ div >
328424< h2 id ="_description "> DESCRIPTION</ h2 >
329425< div class ="sectionbody ">
330- < div class ="para "> < p > Checks if a given < em > refname</ em > is acceptable, and exits with a non-zero
426+ < div class ="paragraph "> < p > Checks if a given < em > refname</ em > is acceptable, and exits with a non-zero
331427status if it is not.</ p > </ div >
332- < div class ="para "> < p > A reference is used in git to specify branches and tags. A
428+ < div class ="paragraph "> < p > A reference is used in git to specify branches and tags. A
333429branch head is stored under the < tt > $GIT_DIR/refs/heads</ tt > directory, and
334430a tag is stored under the < tt > $GIT_DIR/refs/tags</ tt > directory (or, if refs
335431are packed by < tt > git gc</ tt > , as entries in the < tt > $GIT_DIR/packed-refs</ tt > file).
336432git imposes the following rules on how references are named:</ p > </ div >
337- < div class ="olist "> < ol >
433+ < div class ="olist arabic "> < ol class =" arabic " >
338434< li >
339435< p >
340436They can include slash < tt > /</ tt > for hierarchical (directory)
@@ -383,11 +479,11 @@ <h2 id="_description">DESCRIPTION</h2>
383479</ p >
384480</ li >
385481</ ol > </ div >
386- < div class ="para "> < p > These rules make it easy for shell script based tools to parse
482+ < div class ="paragraph "> < p > These rules make it easy for shell script based tools to parse
387483reference names, pathname expansion by the shell when a reference name is used
388484unquoted (by mistake), and also avoids ambiguities in certain
389485reference name expressions (see < a href ="gitrevisions.html "> gitrevisions(7)</ a > ):</ p > </ div >
390- < div class ="olist "> < ol >
486+ < div class ="olist arabic "> < ol class =" arabic " >
391487< li >
392488< p >
393489A double-dot < tt > ..</ tt > is often used as in < tt > ref1..ref2</ tt > , and in some
@@ -403,10 +499,10 @@ <h2 id="_description">DESCRIPTION</h2>
403499</ li >
404500< li >
405501< p >
406- A colon < tt > :</ tt > is used as in < tt > srcref:dstref</ tt > to mean "use srcref' s
502+ A colon < tt > :</ tt > is used as in < tt > srcref:dstref</ tt > to mean "use srcref’ s
407503 value and store it in dstref" in fetch and push operations.
408504 It may also be used to select a specific object such as with
409- ' git cat-file' : "git cat-file blob v1.3.3:refs.c".
505+ < em > git cat-file</ em > : "git cat-file blob v1.3.3:refs.c".
410506</ p >
411507</ li >
412508< li >
@@ -415,18 +511,18 @@ <h2 id="_description">DESCRIPTION</h2>
415511</ p >
416512</ li >
417513</ ol > </ div >
418- < div class ="para "> < p > With the < tt > --print</ tt > option, if < em > refname</ em > is acceptable, it prints the
514+ < div class ="paragraph "> < p > With the < tt > --print</ tt > option, if < em > refname</ em > is acceptable, it prints the
419515canonicalized name of a hypothetical reference with that name. That is,
420516it prints < em > refname</ em > with any extra < tt > /</ tt > characters removed.</ p > </ div >
421- < div class ="para "> < p > With the < tt > --branch</ tt > option, it expands the “previous branch syntax”
517+ < div class ="paragraph "> < p > With the < tt > --branch</ tt > option, it expands the “previous branch syntax”
422518< tt > @{-n}</ tt > . For example, < tt > @{-1}</ tt > is a way to refer the last branch you
423519were on. This option should be used by porcelains to accept this
424520syntax anywhere a branch name is expected, so they can act as if you
425521typed the branch name.</ p > </ div >
426522</ div >
427523< h2 id ="_examples "> EXAMPLES</ h2 >
428524< div class ="sectionbody ">
429- < div class ="ilist "> < ul >
525+ < div class ="ulist "> < ul >
430526< li >
431527< p >
432528Print the name of the previous branch:
@@ -450,11 +546,11 @@ <h2 id="_examples">EXAMPLES</h2>
450546</ div >
451547< h2 id ="_git "> GIT</ h2 >
452548< div class ="sectionbody ">
453- < div class ="para "> < p > Part of the < a href ="git.html "> git(1)</ a > suite</ p > </ div >
549+ < div class ="paragraph "> < p > Part of the < a href ="git.html "> git(1)</ a > suite</ p > </ div >
454550</ div >
455551< div id ="footer ">
456552< div id ="footer-text ">
457- Last updated 2010-10-14 04:35:14 UTC
553+ Last updated 2010-11-06 00:41:57 UTC
458554</ div >
459555</ div >
460556</ body >
0 commit comments