File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -606,16 +606,16 @@ is prepended to it."
606606 (concat " https://" web-host))))
607607
608608(defun git-link-codeberg (hostname dirname filename branch commit start end )
609- (format " %s /%s /src/%s /%s "
610- hostname
611- dirname
612- (or branch commit)
613- (concat filename
614- (when start
615- (concat " #"
616- (if end
617- (format " L%s -L%s " start end)
618- (format " L%s " start)))))))
609+ (format " %s /%s /src/%s /%s "
610+ hostname
611+ dirname
612+ (or branch ( concat " commit/ " commit) )
613+ (concat filename
614+ (when start
615+ (concat " #"
616+ (if end
617+ (format " L%s -L%s " start end)
618+ (format " L%s " start)))))))
619619
620620(defun git-link-gitlab (hostname dirname filename branch commit start end )
621621 (format " %s /%s /-/blob/%s /%s "
You can’t perform that action at this time.
0 commit comments