Code

patches: Added tigrc-example-fix.dpatch.
[pkg-tig.git] / debian / patches / tigrc-example-fix.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## tigrc-example-fix.dpatch by Jonas Fonseca <fonseca@diku.dk>
3 ##
4 ## DP: tigrc(5): fix error in examples for the set command
5 ## DP:
6 ## DP: Fixes Debian bug #514990 reported by Gerfried Fuchs.
8 diff a/tigrc.5.txt b/tigrc.5.txt
9 --- a/tigrc.5.txt
10 +++ b/tigrc.5.txt
11 @@ -46,21 +46,21 @@ Examples:
12  
13  --------------------------------------------------------------------------
14  set show-author = yes          # Show author?
15 -set show-date = yes            # Show commit date?
16  set show-rev-graph = yes       # Show revision graph?
17  set show-refs = yes            # Show references?
18  set show-line-numbers = no     # Show line numbers?
19  set line-number-interval = 5   # Interval between line numbers
20 +set commit-encoding = "UTF-8"  # Commit encoding
21  --------------------------------------------------------------------------
22  
23  Or in the git configuration files:
24  
25  --------------------------------------------------------------------------
26  [tig]
27 +       show-date = yes         # Show commit date?
28         author-width = 10       # Set width of the author column
29         line-graphics = no      # Disable graphics characters
30         tab-size = 8            # Number of spaces per tab
31 -       encoding = "UTF-8"      # Commit encoding
32  --------------------------------------------------------------------------
33  
34  The type of variables are either bool, int, and string.