[PATCH 0/3] gitweb: Improved treatment of links with unknown object type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series of patches make gitweb URLs without a= parameter to use
'object' view, which finds type of requested onject and redirects
(HTTP redirect) to proper view, instead of just displaying this view.
git_object() in turn is simplified to use git_get_type() subroutine,
as was used for URLs without a=.  As 'object' view is just internal
implementation use no a= parameter instead of a=object for gitweb URLs
for which type of object (and therefore view to be used) is not known.

I guess that this series of patches can be squashed into single
commit, but I think that having them split into parts makes reviewing
them easier; it also makes possible to drop indivisual commits, for
example dropping second commit would leave gitweb with modified
finding type of an object.

Shortlog:
=========
Jakub Narebski (3):
  gitweb: Redirect to appropriate view if 'a=' parameter is missing
  gitweb: Simplify object type detection in git_object()
  gitweb: Make 'object' action implicit by using no action URL

Diffstat:
=========
 gitweb/gitweb.perl |   45 +++++++++++----------------------------------
 1 files changed, 11 insertions(+), 34 deletions(-)

This series removes more than adds mainly thanks to second patch in
the series which simplifies git_object() type detection code.

-- 
Jakub Narebski
ShadeHawk on #git
Poland
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux