From d8c4cc8224144aed45503b3181333d28c9a6399e Mon Sep 17 00:00:00 2001 From: Russell Sim Date: Wed, 26 Apr 2017 20:31:06 +0200 Subject: [PATCH] Add patch to fix spelling of error message This is fixed upstream but lintian isn't happy --- debian/patches/fix_spelling.patch | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 debian/patches/fix_spelling.patch diff --git a/debian/patches/fix_spelling.patch b/debian/patches/fix_spelling.patch new file mode 100644 index 000000000..05784c9cf --- /dev/null +++ b/debian/patches/fix_spelling.patch @@ -0,0 +1,14 @@ +Fix spelling of error string. +diff --git a/src/tree.c b/src/tree.c +index 9655ad7..7afef92 100644 +--- a/src/tree.c ++++ b/src/tree.c +@@ -1257,7 +1257,7 @@ int git_tree_create_updated(git_oid *out, git_repository *repo, git_tree *baseli + break; + } + default: +- giterr_set(GITERR_TREE, "unkown action for update"); ++ giterr_set(GITERR_TREE, "unknown action for update"); + error = -1; + goto cleanup; + } diff --git a/debian/patches/series b/debian/patches/series index eaf13ae4f..697f32607 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ disable_tests.patch fix_https_test.patch +fix_spelling.patch