From: Sebastian Harl Date: Fri, 13 Feb 2009 09:57:20 +0000 (+0100) Subject: patches: Added tigrc-example-fix.dpatch. X-Git-Tag: tig-0.14-1~1 X-Git-Url: https://git.tokkee.org/?p=pkg-tig.git;a=commitdiff_plain;h=f7b382f2838777d88cab049105ab9dc079188e17 patches: Added tigrc-example-fix.dpatch. This fixes an error in examples for the set command. Thanks to Gerfried Fuchs for reporting this. Closes: #514990 --- diff --git a/debian/changelog b/debian/changelog index 0a431c9..6de48cc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 13 Feb 2009 10:47:17 +0100 + -- Sebastian Harl Fri, 13 Feb 2009 10:55:30 +0100 tig (0.13-1) experimental; urgency=low diff --git a/debian/patches/00list b/debian/patches/00list index e69de29..835f66d 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -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 index 0000000..cd4b943 --- /dev/null +++ b/debian/patches/tigrc-example-fix.dpatch @@ -0,0 +1,34 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## tigrc-example-fix.dpatch by Jonas Fonseca +## +## 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.