Commits


add an initial implementation of gotadmin dump gotadmin dump is used to export (part of) the history of the repository; at the moment it only generates git bundles (which are pack files with a header) but support to generate a fast-import stream is planned. ok/tweaks stsp and jamsek


add myself in the AUTHORs section


update cleanup -p documentation


gotadmin cleanup can remove pack files now so update CAVEATS accordingly


do not try to explain implementation internals in gotadmin cleanup docs


there is no 'got tag -d' command, but cleanup docs can mention fetch -X


reorder paragraphs in gotadmin.1 cleanup section All the special cases are now being explained last.


slightly reword documentation of .keep files in gotadmin.1 for clarity


mention rebase/histedit -X options in addition to ref -d in gotadmin.1


gotadmin cleanup: remove redundant pack files improvements and ok stsp@


gotadmin pack: add a -D flag to force using ref-delta Intended mostly for the regress suite, so we'll be able to test also the ref-delta code paths. ok stsp@


sync usage with reality The -h and -V/--version flags must be given before the command; with those flags the command is actually optional, but don't over-complicate the usage string with these nitpicks. ok/improvements stsp@


add gotadmin init -b <branch> to specify repo head ref Similar to `git init -b`. Includes a change to `got import` behaviour such that "main" is no longer hardcoded by default; instead, we import to the branch resolved via the repository's HEAD reference unless `got import -b` is used, and only if HEAD cannot be resolved to a branch do we fallback to "main". includes fix plus ok from stsp@


use Xo/Xc in the man pages Patch by Josiah Frentsos; ok kn@


Group options in accordance with style(9) patch by Josiah Frentsos