Skip to content

Commit a7159ae

Browse files
committed
Add a reminder comment for table formatting
The formatting of the tables in the book follow the rule of column seperations by tab characters. Remind the translators to follow this rule where it is applied in the original text.
1 parent e738104 commit a7159ae

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

en/02-git-basics/01-chapter2.markdown

+15
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,11 @@ The most interesting option is `format`, which allows you to specify your own lo
561561

562562
Table 2-1 lists some of the more useful options that format takes.
563563

564+
<!-- Attention to translators: this is a table declaration.
565+
The lines must be formatted as follows
566+
<TAB><First column text><TAB><Second column text>
567+
-->
568+
564569
Option Description of Output
565570
%H Commit hash
566571
%h Abbreviated commit hash
@@ -596,6 +601,11 @@ The `oneline` and `format` options are particularly useful with another `log` op
596601

597602
Those are only some simple output-formatting options to `git log` — there are many more. Table 2-2 lists the options we’ve covered so far and some other common formatting options that may be useful, along with how they change the output of the `log` command.
598603

604+
<!-- Attention to translators: this is a table declaration.
605+
The lines must be formatted as follows
606+
<TAB><First column text><TAB><Second column text>
607+
-->
608+
599609
Option Description
600610
-p Show the patch introduced with each commit.
601611
--word-diff Show the patch in a word diff format.
@@ -625,6 +635,11 @@ The last really useful option to pass to `git log` as a filter is a path. If you
625635

626636
In Table 2-3 we’ll list these and a few other common options for your reference.
627637

638+
<!-- Attention to translators: this is a table declaration.
639+
The lines must be formatted as follows
640+
<TAB><First column text><TAB><Second column text>
641+
-->
642+
628643
Option Description
629644
-(n) Show only the last n commits
630645
--since, --after Limit the commits to those made after the specified date.

0 commit comments

Comments
 (0)