Function: hibtypes-git-build-repos-cache
hibtypes-git-build-repos-cache is an interactive and byte-compiled
function defined in hib-social.el.
Signature
(hibtypes-git-build-repos-cache &optional PROMPT-FLAG)
Documentation
Store cache of local git repo directories in hibtypes-git-repos-cache.
With optional PROMPT-FLAG non-nil, prompt user whether to build the cache before building. Return t if built, nil otherwise.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hib-social.el
(defun hibtypes-git-build-repos-cache (&optional prompt-flag)
"Store cache of local git repo directories in `hibtypes-git-repos-cache'.
With optional PROMPT-FLAG non-nil, prompt user whether to build
the cache before building. Return t if built, nil otherwise."
(interactive)
(when (or (not prompt-flag)
(y-or-n-p "Find all local git repositories (will take some time)? "))
(message "Please wait while all local git repositories are found...")
(unless (zerop (shell-command (format "%s -r '/\\.git$' | sed -e 's+/.git$++' > %s"
(hibtypes-git-get-locate-command)
hibtypes-git-repos-cache)))
(error "(hibtypes-git-build-repos-cache): Cache build failed; `locate-command' must accept `-r' argument for regexp matching"))
(message "Please wait while all local git repositories are found...Done")
t))