about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiInit.pm
DateCommit message (Collapse)
2023-09-24lei: check git-config(1) failures
2020-2021 were bad times and I somehow got deluded into believing git-config(1) would always succeed :x
2021-09-19lei config --edit: use controlling terminal
As with "lei edit-search", "lei config --edit" may spawn an interactive editor which works best from the terminal running script/lei. So implement LeiConfig as a superclass of LeiEditSearch so the two commands can share the same verification hooks and retry logic.
2021-08-11lei: attempt to canonicalize away "/../" pathnames
As documented, File::Spec->canonpath does not canonicalize "/../". While we want to do our best to preserve symlinks in pathnames, leaving "/../" can mislead our inotify|kqueue usage.
2021-03-28lei init: split out into separate file
This is a rarely-needed command, so keep it separate file so it's easier-to-find and maybe saves a bit of RAM.