Commits


sort ENVIRONMENT entries in got.1 and tog.1 ok jamsek


refactor got log -d and tog diffstat to compute diff once This eliminates the previous performance cost by making 'got log -d' and tog diff view compute the diffstat while building the diff in a temp file like we do with 'got diff -d'. Also, keep the current 'got log -d' UI as per stsp's suggestion. ok stsp@


got.1: Add example which lists recently modified branches. I use this a lot.


got: expand diffstat -d option to 'got diff' Like got log -d, add the switch to 'got diff' to display a diffstat of changes; as per stsp's suggestion, we always include diff output with the diffstat. Disabled in gotwebd (for now :) Includes tweaks from op@ ok stsp@


in got.1, update list of commands which refuse to run during rebase/histedit


add -d switch to log usage and sort lexicographically patch by Josiah Frentsos


got: implement diffstat for got log and tog diff view Add new got_diff_blob_cb() implementation to compute added/removed line metrics for a given diff. This enables displaying a diffstat with 'got log -d'. As per suggestion from stsp, change tog diff view to display the diffstat by default. ok stsp@


farewell, gotweb. you served us well. rm gotweb, ok stsp@


add missing full-stop; patch by Josiah Frentsos


provide a diff of changes in a temp file while editing a commit log message ok landry@


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@


forbid rebase of references outside the refs/heads/ namespace ok jrick


remove trailing whitespace; patch by Josiah Frentsos


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