Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tig for openSUSE:Factory checked in at 2022-08-26 09:13:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tig (Old) and /work/SRC/openSUSE:Factory/.tig.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tig" Fri Aug 26 09:13:47 2022 rev:51 rq:999333 version:2.5.7 Changes: -------- --- /work/SRC/openSUSE:Factory/tig/tig.changes 2022-07-14 16:34:34.536645415 +0200 +++ /work/SRC/openSUSE:Factory/.tig.new.2083/tig.changes 2022-08-26 09:13:48.445722735 +0200 @@ -1,0 +2,9 @@ +Fri Aug 26 06:11:18 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 2.5.7: + * Fix running tests as root. (#1224) + * Fix parsing of status.showUntrackedFiles. (#1219) + * Avoid incorrect history path when $XDG_DATA_HOME is valid. (#1215, + #1217) + +------------------------------------------------------------------- Old: ---- tig-2.5.6.tar.gz New: ---- tig-2.5.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tig.spec ++++++ --- /var/tmp/diff_new_pack.BRPYry/_old 2022-08-26 09:13:48.853723152 +0200 +++ /var/tmp/diff_new_pack.BRPYry/_new 2022-08-26 09:13:48.857723156 +0200 @@ -17,7 +17,7 @@ Name: tig -Version: 2.5.6 +Version: 2.5.7 Release: 0 Summary: An ncurses-based text-mode interface for git License: GPL-2.0-or-later ++++++ tig-2.5.6.tar.gz -> tig-2.5.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/INSTALL.adoc new/tig-2.5.7/INSTALL.adoc --- old/tig-2.5.6/INSTALL.adoc 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/INSTALL.adoc 2022-08-25 19:27:20.000000000 +0200 @@ -6,8 +6,8 @@ repository https://github.com/jonas/tig[git://github.com/jonas/tig.git]. The latest version is: -https://github.com/jonas/tig/releases/download/tig-2.5.6/tig-2.5.6.tar.gz[tig-2.5.6] -https://github.com/jonas/tig/releases/download/tig-2.5.6/tig-2.5.6.tar.gz.sha256[(sha256)] +https://github.com/jonas/tig/releases/download/tig-2.5.7/tig-2.5.7.tar.gz[tig-2.5.7] +https://github.com/jonas/tig/releases/download/tig-2.5.7/tig-2.5.7.tar.gz.sha256[(sha256)] *Note:* Do not use the tar.gz file for version 2.0 because it will fail to compile due to issue https://github.com/jonas/tig/pull/283[#283] and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/INSTALL.html new/tig-2.5.7/INSTALL.html --- old/tig-2.5.6/INSTALL.html 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/INSTALL.html 2022-08-25 19:27:20.000000000 +0200 @@ -742,8 +742,8 @@ <div class="paragraph"><p>Download a tarball from <a href="https://github.com/jonas/tig/releases">https://github.com/jonas/tig/releases</a> or clone the Tig repository <a href="https://github.com/jonas/tig">git://github.com/jonas/tig.git</a>.</p></div> <div class="paragraph"><p>The latest version is: -<a href="https://github.com/jonas/tig/releases/download/tig-2.5.6/tig-2.5.6.tar.gz">tig-2.5.6</a> -<a href="https://github.com/jonas/tig/releases/download/tig-2.5.6/tig-2.5.6.tar.gz.sha256">(sha256)</a></p></div> +<a href="https://github.com/jonas/tig/releases/download/tig-2.5.7/tig-2.5.7.tar.gz">tig-2.5.7</a> +<a href="https://github.com/jonas/tig/releases/download/tig-2.5.7/tig-2.5.7.tar.gz.sha256">(sha256)</a></p></div> <div class="paragraph"><p><strong>Note:</strong> Do not use the tar.gz file for version 2.0 because it will fail to compile due to issue <a href="https://github.com/jonas/tig/pull/283">#283</a> and <a href="https://github.com/jonas/tig/issues/337">#337</a></p></div> @@ -1044,7 +1044,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2022-07-11 23:15:48 CEST + 2022-08-25 19:27:00 CEST </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/Makefile new/tig-2.5.7/Makefile --- old/tig-2.5.6/Makefile 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/Makefile 2022-08-25 19:27:20.000000000 +0200 @@ -2,7 +2,7 @@ # The last tagged version. Can be overridden either by the version from # git or from the value of the DIST_VERSION environment variable. -VERSION = 2.5.6 +VERSION = 2.5.7 all: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/NEWS.adoc new/tig-2.5.7/NEWS.adoc --- old/tig-2.5.6/NEWS.adoc 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/NEWS.adoc 2022-08-25 19:27:20.000000000 +0200 @@ -1,6 +1,15 @@ Release notes ============= +tig-2.5.7 +--------- + +Bug fixes: + + - Fix running tests as root. (#1224) + - Fix parsing of status.showUntrackedFiles. (#1219) + - Avoid incorrect history path when $XDG_DATA_HOME is valid. (#1215, #1217) + tig-2.5.6 --------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/NEWS.html new/tig-2.5.7/NEWS.html --- old/tig-2.5.6/NEWS.html 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/NEWS.html 2022-08-25 19:27:20.000000000 +0200 @@ -738,6 +738,29 @@ </div> <div id="content"> <div class="sect1"> +<h2 id="_tig_2_5_7">tig-2.5.7</h2> +<div class="sectionbody"> +<div class="paragraph"><p>Bug fixes:</p></div> +<div class="ulist"><ul> +<li> +<p> +Fix running tests as root. (#1224) +</p> +</li> +<li> +<p> +Fix parsing of status.showUntrackedFiles. (#1219) +</p> +</li> +<li> +<p> +Avoid incorrect history path when $XDG_DATA_HOME is valid. (#1215, #1217) +</p> +</li> +</ul></div> +</div> +</div> +<div class="sect1"> <h2 id="_tig_2_5_6">tig-2.5.6</h2> <div class="sectionbody"> <div class="paragraph"><p>Bug fixes:</p></div> @@ -4891,7 +4914,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2022-07-11 23:15:48 CEST + 2022-08-25 19:27:00 CEST </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/doc/manual.html new/tig-2.5.7/doc/manual.html --- old/tig-2.5.6/doc/manual.html 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/doc/manual.html 2022-08-25 19:27:20.000000000 +0200 @@ -2100,7 +2100,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2022-07-11 23:15:48 CEST + 2022-07-12 19:53:26 CEST </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/doc/tig.1 new/tig-2.5.7/doc/tig.1 --- old/tig-2.5.6/doc/tig.1 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/doc/tig.1 2022-08-25 19:27:20.000000000 +0200 @@ -2,12 +2,12 @@ .\" Title: tig .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 07/11/2022 +.\" Date: 08/25/2022 .\" Manual: Tig Manual -.\" Source: Tig 2.5.6 +.\" Source: Tig 2.5.7 .\" Language: English .\" -.TH "TIG" "1" "07/11/2022" "Tig 2\&.5\&.6" "Tig Manual" +.TH "TIG" "1" "08/25/2022" "Tig 2\&.5\&.7" "Tig Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/doc/tig.1.html new/tig-2.5.7/doc/tig.1.html --- old/tig-2.5.6/doc/tig.1.html 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/doc/tig.1.html 2022-08-25 19:27:20.000000000 +0200 @@ -1202,7 +1202,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2022-07-11 23:15:48 CEST + 2022-08-16 23:31:11 CEST </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/doc/tigmanual.7 new/tig-2.5.7/doc/tigmanual.7 --- old/tig-2.5.6/doc/tigmanual.7 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/doc/tigmanual.7 2022-08-25 19:27:20.000000000 +0200 @@ -2,12 +2,12 @@ .\" Title: tigmanual .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 07/11/2022 +.\" Date: 08/25/2022 .\" Manual: Tig Manual -.\" Source: Tig 2.5.6 +.\" Source: Tig 2.5.7 .\" Language: English .\" -.TH "TIGMANUAL" "7" "07/11/2022" "Tig 2\&.5\&.6" "Tig Manual" +.TH "TIGMANUAL" "7" "08/25/2022" "Tig 2\&.5\&.7" "Tig Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/doc/tigrc.5 new/tig-2.5.7/doc/tigrc.5 --- old/tig-2.5.6/doc/tigrc.5 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/doc/tigrc.5 2022-08-25 19:27:20.000000000 +0200 @@ -2,12 +2,12 @@ .\" Title: tigrc .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 07/11/2022 +.\" Date: 08/25/2022 .\" Manual: Tig Manual -.\" Source: Tig 2.5.6 +.\" Source: Tig 2.5.7 .\" Language: English .\" -.TH "TIGRC" "5" "07/11/2022" "Tig 2\&.5\&.6" "Tig Manual" +.TH "TIGRC" "5" "08/25/2022" "Tig 2\&.5\&.7" "Tig Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/doc/tigrc.5.html new/tig-2.5.7/doc/tigrc.5.html --- old/tig-2.5.6/doc/tigrc.5.html 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/doc/tigrc.5.html 2022-08-25 19:27:20.000000000 +0200 @@ -2905,7 +2905,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2022-07-11 23:15:48 CEST + 2022-08-16 23:31:39 CEST </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/src/options.c new/tig-2.5.7/src/options.c --- old/tig-2.5.6/src/options.c 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/src/options.c 2022-08-25 19:27:20.000000000 +0200 @@ -1486,7 +1486,8 @@ parse_bool(&opt_diff_noprefix, value); else if (!strcmp(name, "status.showuntrackedfiles")) - parse_bool(&opt_status_show_untracked_files, value); + opt_status_show_untracked_files = !!strcmp(value, "no"), + opt_status_show_untracked_dirs = !strcmp(value, "all"); else if (!prefixcmp(name, "tig.color.")) set_repo_config_option(name + 10, value, option_color_command); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/src/prompt.c new/tig-2.5.7/src/prompt.c --- old/tig-2.5.6/src/prompt.c 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/src/prompt.c 2022-08-25 19:27:20.000000000 +0200 @@ -11,6 +11,7 @@ * GNU General Public License for more details. */ +#include <string.h> #include "tig/tig.h" #include "tig/repo.h" #include "tig/view.h" @@ -538,8 +539,11 @@ die("Failed to expand $HOME"); } else if (!string_format(path, "%s/tig/history", xdg_data_home)) die("Failed to expand $XDG_DATA_HOME"); - else - mkdir(dirname(path), 0777); + else { + char path_copy[SIZEOF_STR] = ""; + strncpy(path_copy, path, SIZEOF_STR); + mkdir(dirname(path_copy), 0777); + } fd = open(path, O_RDWR | O_CREAT | O_APPEND, 0666); if (fd > 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/test/tools/libgit.sh new/tig-2.5.7/test/tools/libgit.sh --- old/tig-2.5.6/test/tools/libgit.sh 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/test/tools/libgit.sh 2022-08-25 19:27:20.000000000 +0200 @@ -110,7 +110,7 @@ create_repo_from_tgz() { git_init . - tar zxf "$1" + tar zxof "$1" git reset -q --hard } @@ -121,7 +121,7 @@ clone_dir="${2:-$work_dir}" (cd "$clone_dir" && { git_init . - tar zxf "$repo_tgz" + tar zxof "$repo_tgz" git reset -q --hard }) else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tig-2.5.6/tig.spec new/tig-2.5.7/tig.spec --- old/tig-2.5.6/tig.spec 2022-07-11 23:16:11.000000000 +0200 +++ new/tig-2.5.7/tig.spec 2022-08-25 19:27:20.000000000 +0200 @@ -3,7 +3,7 @@ Summary: Tig: text-mode interface for git Name: tig -Version: 2.5.6 +Version: 2.5.7 Release: 0%{?dist} License: GPLv2+ Group: Development/Tools