diff --git a/develop/cgit/cgit.desc b/develop/cgit/cgit.desc index a86e5747b..49ee04323 100644 --- a/develop/cgit/cgit.desc +++ b/develop/cgit/cgit.desc @@ -30,8 +30,7 @@ [L] GPL [S] Stable -[V] 0.8.0-pre-7fa088e9 +[V] 0.8.0-pre-dd80ef59 [P] X -----5---9 800.000 -#[D] 0 cgit-0.7.2.tar.bz2 !http://hjemli.net/git/cgit/snapshot/cgit-b74cc91574a9284d2f6446fd2ef3df6298ed6992.tar.bz2?id=b74cc91574a9284d2f6446fd2ef3df6298ed6992 -[D] 348151778 cgit-0.8.0-pre-7fa088e9.tar.bz2 !http://hjemli.net/git/cgit/snapshot/cgit-7fa088e99ad2c938ff296e649da33b0bcdd46f63.tar.bz2?id=7fa088e99ad2c938ff296e649da33b0bcdd46f63 +[D] 630313126 cgit-0.8.0-pre-dd80ef59.tar.bz2 !http://hjemli.net/git/cgit/snapshot/cgit-dd80ef59.tar.bz2?id=dd80ef59 diff --git a/develop/cgit/head.patch b/develop/cgit/head.patch new file mode 100644 index 000000000..fe76dc21a --- /dev/null +++ b/develop/cgit/head.patch @@ -0,0 +1,29 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../cgit/head.patch +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +diff --git a/ui-tree.c b/ui-tree.c +index 79332fc..b24f693 100644 +--- a/ui-tree.c ++++ b/ui-tree.c +@@ -38,6 +38,8 @@ static void print_object(const unsigned char *sha1, char *path) + html(" ("); + cgit_plain_link("plain", NULL, NULL, ctx.qry.head, + curr_rev, path); ++ html(") ("); ++ cgit_tree_link("HEAD", NULL, NULL, ctx.qry.head, NULL, path); + htmlf(")
blob: %s", sha1_to_hex(sha1)); + + html("\n");