Accepting request 235937 from home:bwalle:branches:devel:tools:scm

version update to 2.0.2

OBS-URL: https://build.opensuse.org/request/show/235937
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=30
This commit is contained in:
Tomáš Chvátal 2014-06-06 11:53:43 +00:00 committed by Git OBS Bridge
parent 5d2202ab22
commit 9c91449987
6 changed files with 152 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b708d205f2a0432f03daaa945779bcac122662ec0760d4dabc6d8fd60ca32944
size 160039

3
tig-2.0.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b91cf0b3d044f643a1032c3a7c7cd855685bb8ead5f71f4703eb0c19238e273e
size 572025

View File

@ -1,6 +1,8 @@
--- Makefile 2013-08-24 17:42:16.000000000 +0300
+++ Makefile 2013-09-03 10:23:28.826035738 +0300
@@ -36,7 +36,7 @@
Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -37,7 +37,7 @@ RPM_VERLIST = $(filter-out g% dirty,$(su
RPM_VERSION = $(word 1,$(RPM_VERLIST))
RPM_RELEASE = $(word 2,$(RPM_VERLIST))$(if $(WTDIRTY),.dirty)
@ -8,4 +10,4 @@
+LDLIBS ?= -lncurses
CFLAGS ?= -Wall -O2
DFLAGS = -g -DDEBUG -Werror -O0
EXE = tig
EXE = src/tig

View File

@ -1,6 +1,8 @@
--- tig.c.orig 2013-08-10 19:31:36.299418086 +0200
+++ tig.c 2013-08-10 19:31:56.830447151 +0200
@@ -3866,7 +3866,7 @@
Index: src/tig.c
===================================================================
--- src/tig.c.orig
+++ src/tig.c
@@ -347,7 +347,7 @@ view_driver(struct view *view, enum requ
break;
case REQ_SHOW_VERSION:
@ -9,12 +11,12 @@
return TRUE;
case REQ_SCREEN_REDRAW:
@@ -8496,7 +8496,7 @@
@@ -390,7 +390,7 @@ view_driver(struct view *view, enum requ
*/
static const char usage[] =
static const char usage_string[] =
-"tig " TIG_VERSION " (" __DATE__ ")\n"
+"tig " TIG_VERSION "\n"
+"tig " TIG_VERSION " \n"
"\n"
"Usage: tig [options] [revs] [--] [paths]\n"
" or: tig log [options] [revs] [--] [paths]\n"

View File

@ -1,3 +1,131 @@
-------------------------------------------------------------------
Sat May 31 19:13:19 UTC 2014 - bernhard@bwalle.de
- update to 2.0.2
* Improvements
- Use git-status for diffing the index.
- Group toggle options together in the help view.
* Bug fixes
- Fix refs, main and grep loading when gui.encoding is set.
- Ignore gui.encoding and i18n.commitencoding when set to UTF-8.
- Add work-around for missing strndup() on Mac OS X v10.6.
- Fix spurious abbreviation of author names.
- Don't show empty action groups in the help view.
- update to 2.0.1
* Bug fixes:
- Fix compilation in watch.c.
- Fix parsing of key bindings mapped to ^ and <.
- update to 2.0
* Incompatibilities
- In preparation for key combo support, key mappings for symbolic
keys (e.g. Up and Down) must now start with < and end with >,
e.g. <Up> and <Down>. Furthermore, escape key combos must
now use <Esc>key instead of ^[key, and control key mappings
must now use <Ctrl-key> instead of ^key.
- Only use diff-options for the diff view and introduce
%(cmdlineargs) to hold non-file and non-revision flags passed
on the command line. Affects all user-defined commands that
expect %(diffargs) to hold both diff-options arguments and
those passed on the command line.
- Remove built-in keybinding for git gc. Add the following line
to ~/.tigrc to restore it: bind generic G ?git gc.
- To support view specific colors, . can no longer be used
interchangeably with - and _ in settings names and in particular
color names.
- Replace stage-next action with prompt command using a predefined
search (see below) and add binding (@ by default) to also work
in the diff view.
- Most view display options must now be set via the new *-view
options in tigrc. Existing options are no longer recognized,
but a warning is shown.
- Remap default bindings to have more consistent convention:
use lower-case keys primarily for view switching and
non-destructive actions, use upper-case keys for view-specific
actions including user-defined commands. To preserve old default
key bindings see contrib/bindings-v1.x.tigrc.
* Improvements
- Add mouse support: scroll view, click line to move cursor, double
click line (or click again) to "Enter" cursor line, e.g. open
commit diff. Disabled by default, since it makes text selection
less intuitive. If you enable this remember to hold down Shift
(or Option on Mac) when selecting text.
- Rewrite and improve the rendering of the commit graph.
- Add completion and history support to the prompt via readline.
- Options can be configured and toggled individually for each view.
Use the new view settings to configure the order and display
options for each view columns. See system tigrc and tigrc(5) for
examples.
- Add grep view as a front-end to git-grep(1): tig grep -p strchr.
From within Tig, the key for switching or grepping is bound to g
by default.
- Rename branch view to refs view and show tags. (GH #134)
- Add main view pager mode that reads git-logs --pretty=raw data
from stdin, e.g. git reflog --pretty=raw | tig --pretty=raw.
- Add support for --graph and highlight diff stats in the log view.
- Add default command bindings: ! to delete branch, ! to drop stash.
- Add stage-split-chunk action for splitting chunks in the stage
view. Bound to \ by default.
- Add back action bound to < by default, which will return the blame
view to the previous revision and line after moving e.g. to the
parent.
- Auto-refresh views based on watched repository changes. Configure
by setting refresh-mode to manual, auto, after-command, or periodic.
- All default settings are in well-documented system tigrc.
- Add :toggle prompt command to manipulate options using keybindings.
For example: bind diff D :toggle diff-options --patience --notes.
- Add a new "auto" value for the vertical-split option to let Tig
choose the split orientation (this is the new default behavior).
Can be toggled.
- Make it possible to toggle the display of files in untracked
directories.
- Allow Tig to be started with no default configuration by specifying
an alternative system tigrc file, e.g.: TIGRC_SYSTEM=~/.tigrc.safe
tig. Set TIGRC_SYSTEM to the empty string to use built-in
configuration instead of
- Key mappings can contain UTF-8 multibyte unicode keys.
- Warn about conflicting keybindings using Ctrl, e.g. <Ctrl-f> and
<Ctrl-F>.
- Extend key bindings for prompt commands (ie. bind <keymap> <key>
:<prompt>) to support predefined searches, eg.: bind stage 2 :?^@@.
- Git color mappings can be configured in tigrc.
- More informative configuration error messages.
- Make reference label formatting configurable, for example:
set reference-format = (branch) <tags> remote.
- Adjust author width and other view columns automatically.
- Support view specific colors: color stage.diff-add yellow default.
- Copy -S, -G and --grep= pattern to search buffer so find-next and
find-prev work as expected.
- Optionally specify custom prompt for %(prompt) in shell commands,
e.g. bind main B ?git checkout -b "%(prompt Enter new branch name: )".
- Add %(remote) and %(tag) symbols to complement %(branch).
- User-defined commands can now be prefixed with any of the supported
flags, e.g. ?git checkout -b %(branch).
- Open editor at line number for combined diffs e.g. diffs of unmerged files.
- Add build configuration for Cygwin (OS name: CYGWIN_NT-6.1).
- Document the Git commands supported by the pager mode. system
tigrc configuration.
* Bug fixes
- Fix stash diff display when reloading the stash view after a deleting.
- Set the commit reference when opening the blame view from the blob view.
- Correctly identify and highlight the remote branch tracked by HEAD.
- Pass --no-color after user defined arguments to ensure that colors do
not break the output parsing.
- Close stdin when pager mode is not supported.
- Show newly created branches in the main view.
- File with 0 changes breaks diffstat highlighting
- Update %(branch) variable in the main view.
- Disable graph rendering when either of --reverse, -S, -G, and
--grep are passed to the main view.
- Only refresh views that support it.
- Fix author and date annotation of renamed entries in the tree view.
- Fix use of unsafe methods in the signal handler.
- Fix rendering in non-UTF8 terminals.
- Fix stage-update-line by rewriting the diff chunk containing the line
instead of using --unidiff-zero and a diff context of zero.
- Fix status-update to work for untracked directories.
- Don't pass log parameters given on the command line to the diff view.
- adjust patches to new version
-------------------------------------------------------------------
Wed Sep 18 11:55:49 UTC 2013 - speilicke@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package tig
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: tig
Version: 1.2.1
Version: 2.0.2
Release: 0
Summary: An ncurses-based text-mode interface for git
License: GPL-2.0+
@ -55,19 +55,20 @@ make prefix=%{_prefix} mandir=%{_mandir}
%install
make DESTDIR=%{buildroot} prefix="%{_prefix}" mandir="%{_mandir}" install
a2x -f manpage -D %{_tmppath} doc/tig.1.asciidoc
a2x -f manpage -D %{_tmppath} doc/tigrc.5.asciidoc
a2x -f manpage -D %{_tmppath} doc/tigmanual.7.asciidoc
a2x -f manpage -D %{_tmppath} doc/tig.1.adoc
a2x -f manpage -D %{_tmppath} doc/tigrc.5.adoc
a2x -f manpage -D %{_tmppath} doc/tigmanual.7.adoc
install -D -m0644 %{_tmppath}/tig.1 "%{buildroot}/%{_mandir}/man1/tig.1"
install -D -m0644 %{_tmppath}/tigrc.5 "%{buildroot}/%{_mandir}/man5/tigrc.5"
install -D -m0644 %{_tmppath}/tigmanual.7 "%{buildroot}/%{_mandir}/man7/tigmanual.7"
%files
%defattr(-,root,root)
%doc BUGS COPYING NEWS README
%doc COPYING NEWS.adoc README.adoc
%{_bindir}/tig
%doc %{_mandir}/man1/tig.1%{ext_man}
%doc %{_mandir}/man5/tigrc.5%{ext_man}
%doc %{_mandir}/man7/tigmanual.7%{ext_man}
%config /etc/tigrc
%changelog