about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiForgetExternal.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
2023-03-25lei: improve bash completion involving colons
This fixes completions of labels (`+L:' for `lei import' and `L:' for `lei q') so they can appear anywhere in the command-line. I mainly wanted this for `lei import $URL +L:label', but this also fixes `lei forget-external' completions for URLs (which involve colons).
2021-10-13lei: use standard warn() in more places
warn() is easier to augment with context information, and frankly unavoidable in the presence of 3rd-party libraries we don't control.
2021-09-25lei forget-external: split into separate file
This was written before we had auto-loading, and forget-external should be a rarely-used command that's not worth loading at startup. Do some golfing while we're in the area, too.