Remove the commitdiff patch, it's upstream already
This commit is contained in:
parent
c2080dd3aa
commit
977b81323f
@ -1,34 +0,0 @@
|
|||||||
commit e62a641de17b172ffc4d3a803085c8afbfbec3d1
|
|
||||||
Author: Florian La Roche <laroche@redhat.com>
|
|
||||||
Date: Sun Feb 3 12:38:46 2008 +0100
|
|
||||||
|
|
||||||
gitweb: Make feed entries point to commitdiff view
|
|
||||||
|
|
||||||
Change feeds entries (feeds items) from pointing (linking) to 'commit'
|
|
||||||
view to pointing to 'commitdiff' view.
|
|
||||||
|
|
||||||
First, feed entries have whatchanged-like list of files which were
|
|
||||||
modified in a commit, so 'commitdiff' view more naturally reflects
|
|
||||||
feed entry (is more naturally alternate / extended version of a feed
|
|
||||||
item). Second, this way the patches are shown directly and code review
|
|
||||||
is done more easily via watching feeds.
|
|
||||||
|
|
||||||
[jn: Rewritten commit message]
|
|
||||||
|
|
||||||
Signed-off-by: Florian La Roche <laroche@redhat.com>
|
|
||||||
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
|
|
||||||
Signed-off-by: Junio C Hamano <gitster@pobox.com>
|
|
||||||
|
|
||||||
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
|
|
||||||
index ae2d057..8ef2735 100755
|
|
||||||
--- a/gitweb/gitweb.perl
|
|
||||||
+++ b/gitweb/gitweb.perl
|
|
||||||
@@ -5565,7 +5565,7 @@ XML
|
|
||||||
or next;
|
|
||||||
|
|
||||||
# print element (entry, item)
|
|
||||||
- my $co_url = href(-full=>1, action=>"commit", hash=>$commit);
|
|
||||||
+ my $co_url = href(-full=>1, action=>"commitdiff", hash=>$commit);
|
|
||||||
if ($format eq 'rss') {
|
|
||||||
print "<item>\n" .
|
|
||||||
"<title>" . esc_html($co{'title'}) . "</title>\n" .
|
|
7
git.spec
7
git.spec
@ -1,7 +1,7 @@
|
|||||||
# Pass --without docs to rpmbuild if you don't want the documentation
|
# Pass --without docs to rpmbuild if you don't want the documentation
|
||||||
Name: git
|
Name: git
|
||||||
Version: 1.5.4.5
|
Version: 1.5.4.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Core git tools
|
Summary: Core git tools
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -11,7 +11,6 @@ Source1: git-init.el
|
|||||||
Source2: git.xinetd
|
Source2: git.xinetd
|
||||||
Source3: git.conf.httpd
|
Source3: git.conf.httpd
|
||||||
Patch0: git-1.5-gitweb-home-link.patch
|
Patch0: git-1.5-gitweb-home-link.patch
|
||||||
Patch1: git-gitweb-commitdiff.patch
|
|
||||||
BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel, emacs, gettext %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
|
BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel, emacs, gettext %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -129,7 +128,6 @@ Requires: git = %{version}-%{release}, emacs-common
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
|
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
@ -259,6 +257,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# No files for you!
|
# No files for you!
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 02 2008 James Bowes <jbowes@redhat.com> 1.5.4.5-2
|
||||||
|
- Remove a patch that's already upstream.
|
||||||
|
|
||||||
* Fri Mar 28 2008 James Bowes <jbowes@redhat.com> 1.5.4.5-1
|
* Fri Mar 28 2008 James Bowes <jbowes@redhat.com> 1.5.4.5-1
|
||||||
- git-1.5.4.5
|
- git-1.5.4.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user