Removing the trailing "/.git" from gitweb display?

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

 



I noticed that most gitweb pages show their repositories like this:

bluetooth/bluez-gnome.git 	Bluetooth applications for ... 	Marcel Holtmann
bluetooth/bluez-hcidump.git 	Bluetooth packet analyzer 	Marcel Holtmann
bluetooth/bluez.git 	Bluetooth protocol stack for ... 	Marcel Holtmann

However, mine looks like this:

alsa.1862/.git	8610 audio: fabric driver uses wrong DMA channels for... 	Timur
alsa.2598/.git	8610 audio: migrate ASoC V2 drivers to mainline	Timur
alsa.3313/.git	Introduce spin_event_timeout()	Timur

Notice how my repositories have a trailing "/.git" to them?  How do I
get rid of that?

My gitweb.conf is:

$projectroot = '/home/b04825/git/';
$site_name = "Timur Tabi's git repositories";
$home_link = $my_uri;
@stylesheets = ("gitweb.css");
$favicon = "git-favicon.png";
$logo = "git-logo.png";
$projects_list = '/home/b04825/git/projects_list';
$projects_list_description_width = 50;

And /home/b04825/git/projects_list looks like:

alsa.1862/.git Timur
alsa.2598/.git Timur
alsa.3313/.git Timur

I presume the reason why gitweb shows the trailing "/.git" is because
that's what my projects_list file contains.  However, if I remove the
"/.git" from projects_list, gitweb can't find any repositories.

-- 
Timur Tabi
Linux kernel developer at Freescale
--
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]