1.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=19
This commit is contained in:
parent
5acfa921ea
commit
1ba0f04099
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2eb8b2fef985b4a543e38bd39ce96882f07ee29fa35959d5cd52aa5126e19efd
|
|
||||||
size 130730
|
|
3
tig-1.0.tar.gz
Normal file
3
tig-1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e1ecadef82027a94a6489e84a5c02fd5c0d4977bcb13ba2df0a52cca05ad6f71
|
||||||
|
size 188543
|
20
tig-remove_build_timestamp.patch
Normal file
20
tig-remove_build_timestamp.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- tig.c.orig 2012-05-11 22:47:39.111556938 +0200
|
||||||
|
+++ tig.c 2012-05-11 22:47:58.362556253 +0200
|
||||||
|
@@ -3399,7 +3399,7 @@
|
||||||
|
break;
|
||||||
|
|
||||||
|
case REQ_SHOW_VERSION:
|
||||||
|
- report("tig-%s (built %s)", TIG_VERSION, __DATE__);
|
||||||
|
+ report("tig-%s", TIG_VERSION);
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
|
case REQ_SCREEN_REDRAW:
|
||||||
|
@@ -7682,7 +7682,7 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
static const char usage[] =
|
||||||
|
-"tig " TIG_VERSION " (" __DATE__ ")\n"
|
||||||
|
+"tig " TIG_VERSION "\n"
|
||||||
|
"\n"
|
||||||
|
"Usage: tig [options] [revs] [--] [paths]\n"
|
||||||
|
" or: tig show [options] [revs] [--] [paths]\n"
|
46
tig.changes
46
tig.changes
@ -1,3 +1,49 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 11 20:46:32 UTC 2012 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- add patch to remove build timestamps
|
||||||
|
- update to 1.0:
|
||||||
|
* Use git-log(1)s default commit ordering. The old behavior can be
|
||||||
|
restored by adding `set commit-order = topo` to ~/.tigrc.
|
||||||
|
* Support staging of single lines. Bound to '1' default. (GH #21)
|
||||||
|
* Use +<lineno> to open the initial view at an arbitrary line. (GH #20)
|
||||||
|
* Add show-notes ~/.tigrc option. Notes are displayed by default.
|
||||||
|
* Support jumping to specific SHAs in the main view.
|
||||||
|
* Decorate replaced commits.
|
||||||
|
* Display line numbers in main view.
|
||||||
|
* Colorize binary diff stats. (GH #17)
|
||||||
|
* Custom colorization of lines matching a string prefix (GH #16).
|
||||||
|
Example configuration: color "Reported-by:" green default
|
||||||
|
* Use git's color settings for the main, status and diff views.
|
||||||
|
Put `set read-git-colors = no` in ~/.tigrc to disable.
|
||||||
|
* Handle editor options with multiple arguments. (GH #12)
|
||||||
|
* Show filename when running tig blame with copy detection. (GH #19)
|
||||||
|
* Use 'source <path>' command to load additional files from ~/.tigrc
|
||||||
|
* User-defined commands prefixed with '@' are run with no console
|
||||||
|
output, e.g. bind generic 3 !@rm sys$command
|
||||||
|
* Make display of space changes togglable in the diff and stage view.
|
||||||
|
Bound to 'W' by default.
|
||||||
|
* Use per-file encoding specified in gitattributes(5) for blobs and
|
||||||
|
unstaged files.
|
||||||
|
* Obsolete commit-encoding option and pass --encoding=UTF-8 to revision
|
||||||
|
commands.
|
||||||
|
* Main view: show uncommitted changes as staged/unstaged commits.
|
||||||
|
Can be disabled by putting `set show-changes = no` in ~/.tigrc.
|
||||||
|
* Add %(prompt) external command variable, which will prompt for the
|
||||||
|
argument value.
|
||||||
|
* Log information about git commands when the TIG_TRACE environment
|
||||||
|
variable is set. Example: `TIG_TRACE=/tmp/tig.log tig`
|
||||||
|
* Branch view: Show the title of the last commit.
|
||||||
|
* Increase the author auto-abbreviation threshold to 10. (GH #49)
|
||||||
|
* For old commits show number of years in relative dates. (GH #50)
|
||||||
|
* Fix navigation behavior when going from branch to main view. (GH #38)
|
||||||
|
* Fix segfault when sorting the tree view by author name.
|
||||||
|
* Fix diff stat navigation for unmodified files with stat changes.
|
||||||
|
* Show branches/refs which names are a substring of the current branch.
|
||||||
|
* Stage view: fix off-by-one error when jumping to a file in a diff
|
||||||
|
with only one file.
|
||||||
|
* Fix diff-header colorization. (GH #15)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 16 13:24:36 UTC 2012 - saschpe@suse.de
|
Thu Feb 16 13:24:36 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
8
tig.spec
8
tig.spec
@ -17,14 +17,15 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: tig
|
Name: tig
|
||||||
Version: 0.18
|
Version: 1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An ncurses-based text-mode interface for git
|
Summary: An ncurses-based text-mode interface for git
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Tools/Version Control
|
Group: Development/Tools/Version Control
|
||||||
Url: http://jonas.nitro.dk/tig/
|
Url: http://jonas.nitro.dk/tig/
|
||||||
Source0: tig-%{version}.tar.bz2
|
Source0: http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz
|
||||||
Patch0: tig-fix-build.diff
|
Patch0: tig-fix-build.diff
|
||||||
|
Patch1: tig-remove_build_timestamp.patch
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
Requires: git-core
|
Requires: git-core
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -42,6 +43,7 @@ showing the commit with the log message, diffstat, and the diff.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CC=gcc
|
CC=gcc
|
||||||
@ -57,7 +59,7 @@ install -D -m0644 tigmanual.7 "%{buildroot}/%{_mandir}/man7/tigmanual.7"
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc BUGS COPYING NEWS README TODO
|
%doc BUGS COPYING NEWS README
|
||||||
%{_bindir}/tig
|
%{_bindir}/tig
|
||||||
%doc %{_mandir}/man1/tig.1%{ext_man}
|
%doc %{_mandir}/man1/tig.1%{ext_man}
|
||||||
%doc %{_mandir}/man5/tigrc.5%{ext_man}
|
%doc %{_mandir}/man5/tigrc.5%{ext_man}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user