Function: projectile--normalize-repo-path
projectile--normalize-repo-path is a byte-compiled function defined in
projectile.el.
Signature
(projectile--normalize-repo-path PATH)
Documentation
Return PATH without its trailing slashes or its .git suffix.
Those are the two ways one repository path gets spelled differently.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--normalize-repo-path (path)
"Return PATH without its trailing slashes or its `.git' suffix.
Those are the two ways one repository path gets spelled differently."
(string-remove-suffix ".git" (string-trim-right path "/+")))