SHA256
1
0
forked from pool/git

Accepting request 245535 from devel:tools:scm

1

OBS-URL: https://build.opensuse.org/request/show/245535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=139
This commit is contained in:
Stephan Kulow 2014-08-27 14:53:04 +00:00 committed by Git OBS Bridge
parent 566463c9d0
commit e7c2cff8f7
6 changed files with 29 additions and 57 deletions

View File

@ -1,44 +0,0 @@
From a906459c2a89938e911f1650e6ce22315a1ec84d Mon Sep 17 00:00:00 2001
From: Todd Zullinger <tmz@pobox.com>
Date: Fri, 4 Jan 2013 11:54:21 -0500
Subject: [PATCH] git-subtree: Use gitexecdir instead of libexecdir
When the git subtree Makefile includes config.mak from the toplevel,
it's useful to have the same variables set globally applied. Using
gitexecdir instead of libexecdir respects the global settings more
consistently.
Remove the unused gitdir variable as well.
---
contrib/subtree/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile
index 435b2de..dc8da19 100644
--- a/contrib/subtree/Makefile
+++ b/contrib/subtree/Makefile
@@ -2,9 +2,8 @@
-include ../../config.mak
prefix ?= /usr/local
+gitexecdir ?= $(prefix)/libexec/git-core
mandir ?= $(prefix)/share/man
-libexecdir ?= $(prefix)/libexec/git-core
-gitdir ?= $(shell git --exec-path)
man1dir ?= $(mandir)/man1
gitver ?= $(word 3,$(shell git --version))
@@ -30,8 +29,8 @@ $(GIT_SUBTREE): $(GIT_SUBTREE_SH)
doc: $(GIT_SUBTREE_DOC) $(GIT_SUBTREE_HTML)
install: $(GIT_SUBTREE)
- $(INSTALL) -d -m 755 $(DESTDIR)$(libexecdir)
- $(INSTALL) -m 755 $(GIT_SUBTREE) $(DESTDIR)$(libexecdir)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(gitexecdir)
+ $(INSTALL) -m 755 $(GIT_SUBTREE) $(DESTDIR)$(gitexecdir)
install-doc: install-man
--
1.8.3.1

View File

@ -2,11 +2,13 @@
contrib/completion/git-completion.bash | 10 ++++++---- contrib/completion/git-completion.bash | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-) 1 file changed, 6 insertions(+), 4 deletions(-)
--- a/contrib/completion/git-completion.bash Index: git-2.1.0/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash ===================================================================
@@ -23,10 +23,12 @@ --- git-2.1.0.orig/contrib/completion/git-completion.bash 2014-08-15 23:26:55.000000000 +0100
# 3) Consider changing your PS1 to also show the current branch, +++ git-2.1.0/contrib/completion/git-completion.bash 2014-08-17 21:49:40.000000000 +0100
# see git-prompt.sh for details. @@ -28,10 +28,12 @@
# tell the completion to use commit completion. This also works with aliases
# of form "!sh -c '...'". For example, "!sh -c ': git commit ; ... '".
-case "$COMP_WORDBREAKS" in -case "$COMP_WORDBREAKS" in
-*:*) : great ;; -*:*) : great ;;

View File

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

3
git-2.1.0.tar.xz Normal file
View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sun Aug 17 20:51:52 UTC 2014 - andreas.stieger@gmx.de
- git 2.1.0
- incompatible changes:
* default pager configuration no longer wraps long lines. To
restore:
$ git config core.pager "less -S"
$ git config pager.blame "less -S"
- Changes to specific UI, configuration, workflow and features
- Bug fixes and internal improvements
- Full list:
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.1.0.txt
- remove pathc, upstream:
0001-git-subtree-Use-gitexecdir-instead-of-libexecdir.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 31 16:01:38 UTC 2014 - andreas.stieger@gmx.de Thu Jul 31 16:01:38 UTC 2014 - andreas.stieger@gmx.de

View File

@ -20,7 +20,7 @@
%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services %define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
Name: git Name: git
Version: 2.0.4 Version: 2.1.0
Release: 0 Release: 0
Summary: Fast, scalable, distributed revision control system Summary: Fast, scalable, distributed revision control system
License: GPL-2.0 License: GPL-2.0
@ -43,7 +43,6 @@ Patch5: git-bash-completion-egrep-color-fix.diff
Patch6: git-tcsh-completion-fixes.diff Patch6: git-tcsh-completion-fixes.diff
# adapt paths in zsh completion (bnc#853183) # adapt paths in zsh completion (bnc#853183)
Patch7: git-zsh-completion-fixes.diff Patch7: git-zsh-completion-fixes.diff
Patch8: 0001-git-subtree-Use-gitexecdir-instead-of-libexecdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: apache2 BuildRequires: apache2
BuildRequires: asciidoc BuildRequires: asciidoc
@ -211,7 +210,6 @@ directory /git/ that calls the cgi script.
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1 %patch7 -p1
%patch8 -p1
%build %build
cat > .make <<'EOF' cat > .make <<'EOF'