summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d3c6f8e)
Do not assume ".git" exists as a suffix in the repo nickname,
and filter out all trailing slashes in case it didn't get
filtered from Config.
my $n;
if (@s) {
$n = $ctx->{git}->local_nick // die "BUG: $ctx->{git_dir} nick";
my $n;
if (@s) {
$n = $ctx->{git}->local_nick // die "BUG: $ctx->{git_dir} nick";
- $n =~ s/\.git\z/-/;
- ($n) = ($n =~ m!([^/]+)\z!);
- $n = ascii_html($n);
+ $n =~ s!\.git/*\z!!;
+ ($n) = ($n =~ m!([^/]+)/*\z!);
+ $n = ascii_html($n).'-';
}
for (@r) {
my (undef, $oid, $ref, $s, $cd) = split(/\0/);
}
for (@r) {
my (undef, $oid, $ref, $s, $cd) = split(/\0/);