Commit Briefs

87bd0c08f2 Omar Polo

fix gotadmin cleanup -a documentation: it also removes pack files

ok stsp@


02a7e21b3f Stefan Sperling

make 'gotadmin load' always read data from standard input

This provides better symmetry with 'gotadmin dump', and allows us to pass the list of references as command line arguments, replacing the -b option. The -l option now takes an argument which specifies the bundle file rather than requiring data to be fed on stdin with -l which feels awkward. ok op@



8736d68f78 Stefan Sperling

fix copy-paste error in gotadmin.1 load section


f7d653fcfc Omar Polo

add an initial implementation of gotadmin load

it is intended to be the counterpart of `gotadmin dump' and, just like it, there's planned support for handling fast-import stream. At the moment it only deals with git bundles. ok stsp


2df845d59f Omar Polo

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


ea4587d81c Omar Polo

add myself in the AUTHORs section


9cb53404b6 Stefan Sperling

update cleanup -p documentation





af386a8b5a Stefan Sperling

reorder paragraphs in gotadmin.1 cleanup section

All the special cases are now being explained last.




9a7c12cfb1 Omar Polo

gotadmin cleanup: remove redundant pack files

improvements and ok stsp@


c7a4fcc8be Omar Polo

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@


6a0a1bd407 Omar Polo

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@


6f04a73d17 Mark Jamsek

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@


5fc4f020b7 Omar Polo

use Xo/Xc in the man pages

Patch by Josiah Frentsos; ok kn@


827a167b34 Stefan Sperling

Group options in accordance with style(9)

patch by Josiah Frentsos



02a5c5d003 Stefan Sperling

move 'got init' command to 'gotadmin init'

This functionality is better suited for gotadmin because it is technically a server-side repository operation when we consider the 'got' tool as the client-side tool. I have plans to move 'got import' into gotadmin as well. ok op@


20e420c8b1 Stefan Sperling

add a -q (quiet) option to 'gotadmin pack'



8e26059c04 Stefan Sperling

document that 'gotadmin listpack' requires a pack index