Commits


add support for git protocol sidebands and display server progress


remove unused arguments from got_fetch_pack()


rename got_fetch() to got_fetch_pack()


attempt to connect to a server before creating a local repo


make got_fetch() provide reference info to callers and set refs in cmd_clone()


have got_fetch() require an open got_repository to be passed in


make got_fetch() expect URI information in parsed form


rename got_clone() to got_fetch()


declare got_clone() in public API space


Add initial support for network protocol. Ported from git9 by Ori Bernstein.


prevent commits from being listed more than once in a histedit script While merging a commit multiple times during a histedit operation could potentially make sense in some corner case, a commit appearing more than once in the script is more likely to happen accidentally. If desired, the same effect can still be achieved by running multiple histedit operations, or by using 'got cherrypick' while the histedit operation is paused for arbitrary editing.


fix wrong use of words in a histedit error message


be helpful when users try to check out work trees without a known branch Provide a useful error message in such cases and explicitly document intentional restrictions in the got(1) man page. Prompted by a question from Adam Steen via bsd.network https://bsd.network/@adams/103768951483318235


show merged commit ID + logmsg upon merge conflict during rebase and histedit This makes it more apparent which commit contained the conflicting change. The new output looks like this: C sys/dev/pci/if_iwm.c 8a98d848a1a5 -> merge conflict: properly modify station queues got: conflicts must be resolved before rebasing can continue


don't leak logmsg in show_rebase_progress()


disallow 'got rebase' while a histedit operation is in progress


switch 'got tag' commit argument to a -c option for consistency


let 'got branch' switch and update the work tree ok tracey


add 'got histedit -m' option which makes it easy to edit log messages only ok tracey


make tmp dir location a compile-time setting and change gotweb's tmp dir We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD. Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.


fix 'got blame' and 'tog blame' on files added on worktree's current branch


perform the check for an empty histedit commit list earlier


don not open log message editor if there are no changes during 'histedit -c'


display branch name and first commit to be edited at top of histedit script


improve wording of hint displayed for the histedit 'fold' command