Code

patches: Added tigrc-example-fix.dpatch.
authorSebastian Harl <sh@tokkee.org>
Fri, 13 Feb 2009 09:57:20 +0000 (10:57 +0100)
committerSebastian Harl <sh@tokkee.org>
Fri, 13 Feb 2009 09:57:20 +0000 (10:57 +0100)
This fixes an error in examples for the set command. Thanks to Gerfried Fuchs
for reporting this.

Closes: #514990
debian/changelog
debian/patches/00list
debian/patches/tigrc-example-fix.dpatch [new file with mode: 0755]

index 0a431c9767716762a20a309e83bde2c27e05052d..6de48cc4937f48012f996b54d4d9685072a6bd51 100644 (file)
@@ -5,8 +5,10 @@ tig (0.14-1) experimental; urgency=low
     - Removed non-utf8-fix.dpatch - included upstream.
     - Removed tigrc-parsing-fix.dpatch - included upstream.
     - Removed mem-corruption-fix.dpatch - included upstream.
+    - Added tigrc-example-fix.dpatch - fix error in examples for the set
+      command (Closes: #514990).
 
- -- Sebastian Harl <sh@tokkee.org>  Fri, 13 Feb 2009 10:47:17 +0100
+ -- Sebastian Harl <sh@tokkee.org>  Fri, 13 Feb 2009 10:55:30 +0100
 
 tig (0.13-1) experimental; urgency=low
 
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..835f66d09fed09f3f1905ec9679a9d8e035db8b7 100644 (file)
@@ -0,0 +1,2 @@
+tigrc-example-fix.dpatch
+
diff --git a/debian/patches/tigrc-example-fix.dpatch b/debian/patches/tigrc-example-fix.dpatch
new file mode 100755 (executable)
index 0000000..cd4b943
--- /dev/null
@@ -0,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## tigrc-example-fix.dpatch by Jonas Fonseca <fonseca@diku.dk>
+##
+## DP: tigrc(5): fix error in examples for the set command
+## DP:
+## DP: Fixes Debian bug #514990 reported by Gerfried Fuchs.
+
+diff a/tigrc.5.txt b/tigrc.5.txt
+--- a/tigrc.5.txt
++++ b/tigrc.5.txt
+@@ -46,21 +46,21 @@ Examples:
+ --------------------------------------------------------------------------
+ set show-author = yes         # Show author?
+-set show-date = yes           # Show commit date?
+ set show-rev-graph = yes      # Show revision graph?
+ set show-refs = yes           # Show references?
+ set show-line-numbers = no    # Show line numbers?
+ set line-number-interval = 5  # Interval between line numbers
++set commit-encoding = "UTF-8" # Commit encoding
+ --------------------------------------------------------------------------
+ Or in the git configuration files:
+ --------------------------------------------------------------------------
+ [tig]
++      show-date = yes         # Show commit date?
+       author-width = 10       # Set width of the author column
+       line-graphics = no      # Disable graphics characters
+       tab-size = 8            # Number of spaces per tab
+-      encoding = "UTF-8"      # Commit encoding
+ --------------------------------------------------------------------------
+ The type of variables are either bool, int, and string.