[PATCH 2/4] Introduce "dont-display-suffix" option

Julius Plenz plenz at cis.fu-berlin.de
Thu Nov 1 11:52:18 CET 2012


Hi, Jason!

* Jason A. Donenfeld <Jason at zx2c4.com> [2012-11-01 05:24]:
> What's the use case of this? Why not do completely without suffixes?
> Not many folks like suffixes anywhere ever.

Without suffixes in the URL, there's a name clash if you have a
subdirectory "A" as well as "A.git". Take for example a repository
"exim.git" and "exim/exim-helpers.git", "exim/config.git".

What should http://cgit-server/exim display? -> Don't display
suffixes, but use them in the URL do avoid ambiguity in a case like
the one mentioned.

Julius




More information about the CGit mailing list